plot_heatmap | R Documentation |
plot_heatmap
plot_heatmap(x, ...)
## S3 method for class 'Seurat'
plot_heatmap(
x,
assay = NULL,
slot = "data",
scale = TRUE,
top_ann = NULL,
top_ann_col = NULL,
...
)
## S3 method for class 'SingleCellExperiment'
plot_heatmap(x, assay = "logcounts", top_ann = NULL, top_ann_col = NULL, ...)
## S3 method for class 'matrix'
plot_heatmap(
x,
scale = TRUE,
show_column_names = FALSE,
name = "expression",
...
)
x |
object to plot. |
... |
arguments passed down to ComplexHeatmap::Heatmap. |
assay |
assay name for Seurat and SingleCellExperiment objects. |
slot |
slot name for Seurat objects. |
scale |
whether to scale data data. |
top_ann |
names of columns to be used as top annotations. |
top_ann_col |
color definition for the categories in the top annotations. |
show_column_names |
whether to show column names (default: FALSE). |
name |
name for the main legend. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.