Skip to content

Error in if (mean(X == 0, na.rm = TRUE) > 0.5) X <- Matrix::Matrix(X, : missing value where TRUE/FALSE needed #9

@TENandBIO

Description

@TENandBIO

Hi,

i am using plaid to calculate signature scores on a personal dataset. I prepared my single cell dataset and the geneset object as you suggested. Then I ran these commands:

gsetX <- plaid(files_bian_all_dgM, matG, normalize=TRUE) ###<- corrected results
gsetX_sing = replaid.sing(files_bian_all_dgM, matG) ###<- corrected results
gsetX_scse <- replaid.scse(files_bian_all_dgM, matG) ###<- corrected results
gsetX_ssgsea <- replaid.ssgsea(files_bian_all_dgM, matG) ###<- corrected results
gsetX_gsva <- replaid.gsva(files_bian_all_dgM, matG) ###<- corrected results

gsetX_ucell <- replaid.ucell(files_bian_all_dgM, matG)
Error in if (mean(X == 0, na.rm = TRUE) > 0.5) X <- Matrix::Matrix(X, :
missing value where TRUE/FALSE needed
gsetX_aucell <- replaid.aucell(files_bian_all_dgM, matG)
Error in if (mean(X == 0, na.rm = TRUE) > 0.5) X <- Matrix::Matrix(X, :
missing value where TRUE/FALSE needed

However, if I run AUCell on the same dataset I got results.
I have tried on dataset you provided and I had no errors.
Can you help me?

Thank you in advance
Tommaso

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions