Description Usage Arguments Value Author(s)
View source: R/analysis-tools.R
This function computes the expression density of a set of marker genes for each cluster. The expression density is defined as the mean expression of the markers gene set accross all cells belonging to the same cluster.
1 2 3 4 5 6 7 | scandal_cluster_markers_density(
x,
clusters,
mname,
markers,
return_sorted = FALSE
)
|
x |
gene expression matrix |
clusters |
a character/factor vector of cluster assigment for each observation (column)
in |
markers |
a character vector of marker gene symbols corresponding to subset of genes (rows)
in |
return_sorted |
wether the result should be returned in descending order. Defaule is FALSE |
A tibble with two columns: Cluster and MCD (Markers Cluster Density).
Avishay Spitzer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.