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

Error when using Data Input From Workspace in Shiny app #209

Open
axelklenk opened this issue Oct 16, 2024 · 3 comments · Fixed by #212
Open

Error when using Data Input From Workspace in Shiny app #209

axelklenk opened this issue Oct 16, 2024 · 3 comments · Fixed by #212
Assignees
Labels

Comments

@axelklenk
Copy link
Collaborator

When testing the Shiny app, Data Input From File worked as before, whereas Data Input From Workspace resulted in the error message below (this used to work fine):

Error in validObject(.Object): invalid class "gsvaParam" object: invalid object for slot "geneSets" in class "gsvaParam": got class "reactive.cache", should be or extend class "GsvaGeneSets"

Apparently the error message comes from validation of the parameter object, where something called a reactive.cacheis found when one of our classes is expected. 🤬

@axelklenk
Copy link
Collaborator Author

Sorry, GitHub, we're not finished yet: there's at least two more bugs remaining in the Shiny app waiting to be fixed.

@axelklenk axelklenk reopened this Oct 24, 2024
@axelklenk axelklenk moved this from Done to In Progress in User interface and documentation Oct 24, 2024
@terbanacle
Copy link

Hi, I am also running the Shiny app and I got the following error message when using data on the Workspace. This happens on both GSVA v2.0.1 and v2.0.4.

Error in validObject(.Object): invalid class “gsvaParam” object: invalid object for slot "geneSets" in class "gsvaParam": got class "gsvaParam", should be or extend class "GsvaGeneSets"

@axelklenk
Copy link
Collaborator Author

Hi,

an update on this issue: while I have not yet been able to find its cause and fix it, it will only occur

  1. when using GSVAvia the Shiny app, and
  2. supplying the gene sets as a list of character vectors,
    i.e., as a workaround you can either
  • (in your workspace) convert your gene set list into a GSEABase::GeneSetCollection by using GSVA function geneIdsToGeneSetCollection() and (from the Shiny app) select the resulting object from the workspace, or
  • read gene sets from a GMT file as the internal read function will always return a GeneSetCollection object.

Please make sure to use GSVA version 2.0.5 (available as of today) that fixes another bug in the Shiny app 😅 which had caused all invocations of the default method GSVA to fail.

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

Successfully merging a pull request may close this issue.

2 participants