Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalculatePWProfiles issue - invalid class "GeneSetCollection" object #14

Open
sciotlos opened this issue Jan 16, 2021 · 1 comment
Open

Comments

@sciotlos
Copy link

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

@risserlin
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants