powered by
Draws a heatmap of hashtag oligo signals across singlets/doublets/negative cells. Allows for the visualization of HTO demultiplexing results.
HTOHeatmap(object, hto.classification = "hto_classification", global.classification = "hto_classification_global", assay.type = "HTO", num.cells = 5000, singlet.names = NULL, ...)
Seurat object. Assumes that the hash tag oligo (HTO) data has been added and normalized, and demultiplexing has been run with HTODemux().
The naming for object@meta.data slot with classification result from HTODemux().
The slot for object@meta.data slot specifying a cell as singlet/doublet/negative.
Hashtag assay name.
Number of cells to plot. Default is to choose 5000 cells by random subsampling, to avoid having to draw exceptionally large heatmaps.
Namings for the singlets. Default is to use the same names as HTOs.
Additional arguments for DoHeatmap().
Returns a ggplot2 plot object.
# NOT RUN { object <- HTODemux(object) HTOHeatmap(object) # }
Run the code above in your browser using DataLab