This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in validObject(.Object) : invalid class “ExpressionSet” object: sampleNames differ between assayData and phenoData

Hi Biostar,

I try to perform Differential expression at pathway level:

 disease_es <- gsva(disease_Par)

Error in validObject(.Object) : 
  invalid class “ExpressionSet” object: sampleNames differ between assayData and phenoData

https://bioconductor.org/packages/devel/bioc/vignettes/GSVA/inst/doc/GSVA.html
Seem the error is because the colnames(gene_expression) is not in the same or order of rownames(p_Data). I found an similar issue here: https://support.bioconductor.org/p/84162/
Would you please have a suggestion to fix this error? Thank you so much!

With some manipulate the name, I reordered it to match and no more error.

gsva

0 answers

No answers yet.

Log in to answer this question.