View source: R/runClusterSummaryMetrics.R
runClusterSummaryMetrics | R Documentation |
Calculates the mean expression of percent of cells that express the given genes for each cluster
runClusterSummaryMetrics(
inSCE,
useAssay = "logcounts",
featureNames,
displayName = NULL,
groupNames = "cluster",
scale = FALSE
)
inSCE |
The single cell experiment to use. |
useAssay |
The assay to use. |
featureNames |
A string or vector of strings with each gene to aggregate. |
displayName |
A string that is the name of the column used for genes. |
groupNames |
The name of a colData entry that can be used as groupNames. |
scale |
Option to scale the data. Default: /codeFALSE. Selected assay will not be scaled. |
A dataframe with mean expression and percent of cells in cluster that express for each cluster.
data("scExample")
runClusterSummaryMetrics(inSCE=sce, useAssay="counts", featureNames=c("B2M", "MALAT1"),
displayName="feature_name", groupNames="type")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.