HTOHeatmap: Hashtag oligo heatmap

Description Usage Arguments Value See Also Examples

Description

Draws a heatmap of hashtag oligo signals across singlets/doublets/negative cells. Allows for the visualization of HTO demultiplexing results.

Usage

1
2
3
HTOHeatmap(object, assay = "HTO", classification = paste0(assay,
  "_classification"), global.classification = paste0(assay,
  "_classification.global"), ncells = 5000, singlet.names = NULL)

Arguments

object

Seurat object. Assumes that the hash tag oligo (HTO) data has been added and normalized, and demultiplexing has been run with HTODemux().

assay

Hashtag assay name.

classification

The naming for metadata column with classification result from HTODemux().

global.classification

The slot for metadata column specifying a cell as singlet/doublet/negative.

ncells

Number of cells to plot. Default is to choose 5000 cells by random subsampling, to avoid having to draw exceptionally large heatmaps.

singlet.names

Namings for the singlets. Default is to use the same names as HTOs.

Value

Returns a ggplot2 plot object.

See Also

HTODemux

Examples

1
2
3
4
5
## Not run: 
object <- HTODemux(object)
HTOHeatmap(object)

## End(Not run)

atakanekiz/Seurat3.0 documentation built on May 26, 2019, 2:33 a.m.