heatmap.plot | R Documentation |
This function takes an object of class scSeqR and genes and provides a heatmap.
heatmap.plot(x = NULL, gene = "NULL", cluster.by = "clusters", cluster.rows = F, heat.colors = c("blue", "white", "red"))
x |
A data frame containing gene counts for cells. |
gene |
A set of gene names to be heatmapped. |
cluster.by |
Choose from "clusters" or "conditions", defult = "clusters". |
cluster.rows |
If set to FALSE the genes would not be clustered, defult = TRUE. |
heat.colors |
Colors for heatmap, defult = c("blue" ,"white", "red"). |
scale |
Choose from "row" or "column", defult = "row". |
An object of class scSeqR
## Not run: MyGenes <- c("SOD1","CD7") MyGenes <- top.markers(marker.genes, topde = 10, min.base.mean = 0.8) heatmap.plot (my.obj, gene = MyGenes, cluster.by = "clusters", cluster.rows = T) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.