complex_heatmap_unique | R Documentation |
This function is for identifying the group-specific genes in a selected celltype and plot the expression of those genes in heatmap.
complex_heatmap_unique(
seu_obj,
celltype,
group,
gene_highlight = NULL,
logfc = 0.5,
return_marker = FALSE,
col_fun = colorRamp2(c(-2, -1, 0, 1, 2), rev(c("#BF0080", "#CE6EAE", "#dddddd",
"#6EAE6E", "#008000")))
)
seu_obj |
A complete Seurat object |
celltype |
Cell types selected for gene plot. |
group |
The group to show on x axis. One of the column names in meta.data. |
gene_highlight |
Gene names showing on the rows. Default: all genes |
logfc |
Fold change to select the genes |
return_marker |
If TRUE, a list of specific gene will be returned. |
col_fun |
Heatmap color key. |
A ComplexHeatmap object or/and a gene list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.