Description Usage Arguments Value Examples
View source: R/GeneSetDb-methods.R
Generates an inidcator matrix to indicate membership of genes (columns)
to gene sets (rows). If y
is provided, then the incidence is mapped
across the entire feature-space of y
.
1 | incidenceMatrix(x, y, ...)
|
x |
A |
y |
(optional) A target (expression) object |
... |
parameters passed down into |
incidence matrix with nrows = number of genesets and columns are
featureIDs. If y
is passed in, the columns of the returned value
match the rows of y
.
1 2 3 4 | vm <- exampleExpressionSet()
gdb <- getMSigGeneSetDb('H', 'human', 'entrez')
im <- incidenceMatrix(gdb)
imv <- incidenceMatrix(gdb, vm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.