Skip to content

Supplying a custom dataset #3

Description

@marinawakid

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions