view.aspects | R Documentation |
Internal function to visualize aspects of transcriptional heterogeneity as a heatmap. Used by pagoda.view.aspects
.
view.aspects(mat, row.clustering = NA, cell.clustering = NA, zlim = c(-1,
1) * quantile(mat, p = 0.95), row.cols = NULL, col.cols = NULL,
cols = colorRampPalette(c("darkgreen", "white", "darkorange"), space =
"Lab")(1024), show.row.var.colors = TRUE, top = Inf, ...)
mat |
Numeric matrix |
row.clustering |
Row dendrogram |
cell.clustering |
Column dendrogram |
zlim |
Range of the normalized gene expression levels, inputted as a list: c(lower_bound, upper_bound). Values outside this range will be Winsorized. Useful for increasing the contrast of the heatmap visualizations. Default, set to the 5th and 95th percentiles. |
row.cols |
Matrix of row colors. |
col.cols |
Matrix of column colors. Useful for visualizing cell annotations such as batch labels. |
cols |
Heatmap colors |
show.row.var.colors |
Boolean of whether to show row variance as a color track |
top |
Restrict output to the top n aspects of heterogeneity |
... |
additional arguments for heatmap plotting |
A heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.