View source: R/Visualization.R
A single heatmap from ggplot2 using geom_raster. Copy from Seurat
1 2 3 4 5 6 7 8 9 10 11 |
data |
A matrix or data frame with data to plot |
raster |
switch between geom_raster and geom_tile |
cell.order |
... |
feature.order |
... |
disp.min |
Minimum display value (all values below are clipped) |
disp.max |
Maximum display value (all values above are clipped) |
limits |
A two-length numeric vector with the limits for colors on the plot |
group.by |
A vector to group cells by, should be one grouping identity per cell |
cols |
A vector of colors to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.