Learn R Programming

Seurat (version 2.1.0)

KMeansHeatmap: Plot k-means clusters

Description

Plot k-means clusters

Usage

KMeansHeatmap(object, cells.use = object@cell.names, genes.cluster = NULL,
  max.genes = 1e+06, slim.col.label = TRUE, remove.key = TRUE,
  row.lines = TRUE, ...)

Arguments

object

A Seurat object

cells.use

Cells to include in the heatmap

genes.cluster

Clusters to include in heatmap

max.genes

Maximum number of genes to include in the heatmap

slim.col.label

Instead of displaying every cell name on the heatmap, display only the identity class name once for each group

remove.key

Removes teh color key from the plot

row.lines

Color separations of clusters

...

Extra parameters to DoHeatmap

See Also

DoHeatmap

Examples

Run this code
# NOT RUN {
pbmc_small <- DoKMeans(object = pbmc_small, k.genes = 3)
KMeansHeatmap(object = pbmc_small)

# }

Run the code above in your browser using DataLab