Skip to content

Error in HiClimR::fastCor(df_dtw_wide, nSplit = 1, upperTri = TRUE, optBLAS = TRUE, : invalid nSplit: 0 #6

@KevinOuwerkerk

Description

@KevinOuwerkerk

Hello,

I get the error:
Error in HiClimR::fastCor(df_dtw_wide, nSplit = 1, upperTri = TRUE, optBLAS = TRUE, :
invalid nSplit: 0

This is because the columns in my matrix or dataframe have NA values and since the operation checking for variance does not have na.rm = TRUE all columns have a variance of NA and are therefore deleted. Can this be solved, by for example in the operation ii <- which(apply(xt, 2, var) > 0) add functionality to set: na.rm = TRUE?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions