Description Usage Arguments Value Examples
View source: R/GeneSetDb-methods.R
This is helpful when you don't have a monsterly sized GeneSetDb. There will
be as many new columns added to x
as there are active genesets in gdb
.
1 | annotateGeneSetMembership(x, gdb, x.ids = NULL, ...)
|
x |
A data.frame with genes/features in rows |
gdb |
A |
x.ids |
The name of the column in |
... |
parameters passed down into |
Returns the original x
with additional columns: each is a
logical vector that indicates membership for genesets defined in
gdb
.
1 2 3 4 5 6 7 8 | vm <- exampleExpressionSet()
gdb <- exampleGeneSetDb()
mg <- multiGSEA(gdb, vm, vm$design, 'tumor', methods=NULL)
lfc <- logFC(mg)
annotated <- annotateGeneSetMembership(lfc, gdb, 'feature_id')
## Show only genes that are part of 'HALLMARK_ANGIOGENESIS' geneset
angio <- subset(annotated, `c2;;BIOCARTA_AGPCR_PATHWAY`)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.