runEnrichR | R Documentation |
Run EnrichR on SCE object
runEnrichR(
inSCE,
features,
analysisName,
db = NULL,
by = "rownames",
featureName = NULL
)
inSCE |
A SingleCellExperiment object. |
features |
Character vector, selected genes for enrichment analysis. |
analysisName |
A string that identifies each specific analysis. |
db |
Character vector. Selected database name(s) from the enrichR
database list. If |
by |
Character. From where should we find the |
featureName |
Character. Indicates the actual feature identifiers to be
passed to EnrichR. Can be |
EnrichR works by querying the specified features
to its online
databases, thus it requires the Internet connection.
Available db
options could be shown by running
enrichR::listEnrichrDbs()$libraryName
This function checks for the existence of features in the SCE object. When
features
do not have a match in rownames(inSCE)
, users may
try to specify by
to pass the check.
EnrichR expects gene symbols/names as the input (i.e. Ensembl ID might not
work). When specified features
are not qualified for this, users may
try to specify featureName
to change the identifier type to pass to
EnrichR.
Updates inSCE
metadata with a data.frame of enrichment terms
overlapping in the respective databases along with p-values, z-scores etc.
getEnrichRResult
data("mouseBrainSubsetSCE")
if (Biobase::testBioCConnection()) {
mouseBrainSubsetSCE <- runEnrichR(mouseBrainSubsetSCE, features = "Cmtm5",
db = "GO_Cellular_Component_2017",
analysisName = "analysis1")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.