geneSetSummaryByGenes.Rd
This function creates a geneset by feature table with geneset membership
information for a specified feature set. Only the gene sets that have
any of the features
are included.
geneSetSummaryByGenes( x, features, with.features = TRUE, feature.rename = NULL, ... ) # S4 method for GeneSetDb geneSetSummaryByGenes( x, features, with.features = TRUE, feature.rename = NULL, ..., as.dt = FALSE ) # S4 method for MultiGSEAResult geneSetSummaryByGenes( x, features, with.features = TRUE, feature.rename = NULL, method = NULL, max.p = 0.3, p.col = c("padj", "padj.by.collection", "pval"), ..., as.dt = FALSE )
x |
|
---|---|
features | a character vector of featureIds |
with.features | Include columns for |
feature.rename | if |
a data.frame of geneset <-> feature incidence/feature matrix.
vm <- exampleExpressionSet(do.voom=TRUE) gdb <- conform(exampleGeneSetDb(), vm) mg <- multiGSEA(gdb, vm, vm$design, 'tumor', methods=NULL) features <- c("55839", "8522", "29087") gsm.hit <- geneSetSummaryByGenes(gdb, features) gsm.fid <- geneSetSummaryByGenes(mg, features, feature.rename=NULL) gsm.sym <- geneSetSummaryByGenes(mg, features, feature.rename='symbol')