Hi
I am trying to add oncogenic signatures
to GSVA
but I don't know how to do that
> data(C6BroadSets) #http://software.broadinstitute.org/gsea/msigdb/collections.jsp#C2
Warning message:
In data(C6BroadSets) : data set ‘C6BroadSets’ not found
>
From this tutorial
How to use GSVA for the RNA-seq RPKM file
> topMatrixGSVA <- gsva(topMatrix, c6BroadSets, min.sz=10, max.sz=999999, abs.ranking=FALSE, verbose=TRUE)
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'gset.idx.list' in selecting a method for function 'gsva': object 'c6BroadSets' not found
>
>
I have also tried
anonicalC2BroadSets <- c6BroadSets[c(grep("^ERBB2_UP.V1_DN", names(c6BroadSets)),
+ grep("^ERBB2_UP.V1_UP", names(c6BroadSets)),
+ grep("^WNT_UP.V1_DN", names(c6BroadSets)))]
Error: object 'c6BroadSets' not found
>
How I can add c6 collection ti GSVA?
There is
msigdbr
: https://cran.r-project.org/web/packages/msigdbr/vignettes/msigdbr-intro.htmlThank you
How I prepare that for GSVA
The problem is you are trying to convert it to a
GeneSetCollection
object. You don't need to do that. GSVA can also take a basic list object (like in thefgsea
example in the vignette I linked to).Great post here! I was looking for exactly the same answer!
To get gene sets in ENSEMBL ids, what can I do?
Thank you!
You meant I have to use
getGmt()
to convertc6.all.v7.1.entrez.gmt
toc2BroadSets
?How come you ask about using
getGmt()
, and then you usegetBroadSets()
? Why don't you trygetGmt()
?And no, don't call the new object c2BroadSets, it will overwrite the existing c2BroadSets from GSVAdata, if the package has been loaded.
Finally I used GSEA itself
I fed up regulated genes in one group and I got this
Does this mean KRAS pathway is being down regulated in this group?