heatmap.gg.plot | R Documentation |
This function takes an object of class scSeqR and genes and provides a heatmap.
heatmap.gg.plot(x = NULL, gene = "NULL", cluster.by = "clusters", min.scale = -2.5, max.scale = 2.5, interactive = T, cex.col = 10, cex.row = 10, no.key = FALSE, out.name = "plot", 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". |
interactive |
If TRUE an html intractive file will be made, defult = TRUE. |
no.key |
If you want a color legend key defult = FALSE. |
out.name |
Output name for html file if interactive = TRUE defult = "plot". |
heat.colors |
Colors for heatmap, defult = c("blue" ,"white", "red"). |
An object of class scSeqR
## Not run: heatmap.gg.plot(my.obj, gene = MyGenes, interactive = T, out.name = "plot", cluster.by = "clusters") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.