I follow the GSVA guide, but I was trapped by hgu95a, I am confused, why I can only install hgu95a.db, but not hgu95a, which is necessary for GSVA analysis. Thanks for any suggestion.
cache(leukemia_es <- gsva(leukemia_filtered_eset, c2BroadSets, min.sz=10, max.sz=500, verbose=TRUE), dir=cacheDir, prefix=cachePrefix)
Error in .local(expr, gset.idx.list, ...) :
Please install the nnotation package hgu95a
BiocManager::install("hgu95a")
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.2
(2020-06-22)
Installing package(s) 'hgu95a'
Warning message:
package ‘hgu95a’ is not available (for R version 4.0.2)
I installed hgu95a.db successfully but I'm still getting the same error message when I run your code.
Okay, can you please show the output from the commands in my answer?
That's not the output of all commands. So, if, for whatever reason(s), you cannot post the output of all commands, what is the output of:
If loaded successfully, this should, in addition, load hgu95a.db and org.Hs.eg.db
Loading required package: BiocGenerics Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
The following objects are masked from 'package:stats':
The following objects are masked from 'package:base':
Loading required package: Biobase Welcome to Bioconductor
Loading required package: annotate Loading required package: AnnotationDbi Loading required package: stats4 Loading required package: IRanges Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
Attaching package: 'IRanges'
The following object is masked from 'package:grDevices':
Loading required package: XML Loading required package: graph
Attaching package: 'graph'
The following object is masked from 'package:XML':
Loading required package: hgu95a.db Loading required package: org.Hs.eg.db
Attaching package: 'limma'
The following object is masked from 'package:BiocGenerics':
ExpressionSet (storageMode: lockedEnvironment) assayData: 12626 features, 37 samples element names: exprs protocolData sampleNames: CL2001011101AA.CEL CL2001011102AA.CEL ... CL2001011152AA.CEL (37 total) varLabels: ScanDate varMetadata: labelDescription phenoData sampleNames: CL2001011101AA.CEL CL2001011102AA.CEL ... CL2001011152AA.CEL (37 total) varLabels: subtype varMetadata: labelDescription channel featureData: none experimentData: use 'experimentData(object)' Annotation: hgu95a Error in .local(expr, gset.idx.list, ...) : Please install the nnotation package hgu95a
I think the problem is that the annotation slot in
ExpressionSet
objects trims off the extension.db
from the package name that contains the annotation. So, when the software tells you to install the packagehgu95a
, you should actually try to installhgu95a.db
, so please try the following:I did install it but still no luck, although it works fine on a different machine.
I'm currently experiencing the same error message that you're having while working through the GSVA vignette even after installing the "hgu95a.db" package with BiocManager. Here is the output of the code block you posted:
Results:
Hi, that's so strange. I run the same code and have no errors. Here is the output, and my sessionInfo():
Can you clarify your system setup?