Tempora icon indicating copy to clipboard operation
Tempora copied to clipboard

CalculatePWProfiles issue - invalid class "GeneSetCollection" object

Open sciotlos opened this issue 4 years ago • 1 comments

Hello again,

After correcting the CreateSeuratObject issue, I've run into the following issue when calling CalculatePWPProfiles as:

CalculatePWProfiles(temporaObj, gmt_path ="Human_GOBP_AllPathways_no_GO_iea_January_13_2021_symbol.gmt",
                                        method="gssea", min.sz = 5, max.sz = 200, parallel.sz = 1)

and here is the error:

Calculating cluster average gene expression profile...Error in validObject(.Object) : 
  invalid class "GeneSetCollection" object: superclass "vector_OR_Vector" not defined in the environment of the object's class

I have tried a few things, reinstalling packages, checking my data's structure, etc.. no luck.. any ideas? Thanks again! -Serban

sciotlos avatar Jan 16 '21 00:01 sciotlos

I don't think this is the issue because when I run your code I get a different error.
The method should be "ssgsea" not "gssea"

Is your data a seurat object or is it an expression matrix?

risserlin avatar Feb 10 '21 20:02 risserlin