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

Supplying a custom dataset #3

Open
marinawakid opened this issue May 19, 2023 · 0 comments
Open

Supplying a custom dataset #3

marinawakid opened this issue May 19, 2023 · 0 comments

Comments

@marinawakid
Copy link

Hello,

I'm using the R package and attempting to follow the code for ### Supplying a custom dataset

I run the following:

cts <- read.csv("X.csv", row.names =1) # has the same layout as airway data

corrMat <- generateCorrelations(cts)

TERM2GENE <- getTERM2GENE(GSEA_Type = c("GO:BP"))  # GO Biological Process

res <- analyzeSingleGenes(genesOfInterest = c("ESR2"), 
                          corrMat = corrMat,
                          Sample_Type = "brain - normal",
                          corrMat_label = "User-Supplied",
                          TERM2GENE = TERM2GENE)

But I get this error:

Retrieving any missing correlation data...

Analyzing: ESR2
GSEA
|=========================================================================================================| 100%

Error in gp + ggplot2::labs(title = pathTitle, subtitle = paste0("Enrichment score: ", :
non-numeric argument to binary operator

Could you please tell me what the issue is/what might be missing?

Thank you!

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

1 participant