Description Usage Arguments Value See Also Examples
Draws a heatmap of hashtag oligo signals across singlets/doublets/negative cells. Allows for the visualization of HTO demultiplexing results.
1 2 3 | HTOHeatmap(object, assay = "HTO", classification = paste0(assay,
"_classification"), global.classification = paste0(assay,
"_classification.global"), ncells = 5000, singlet.names = NULL)
|
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. |
Returns a ggplot2 plot object.
1 2 3 4 5 | ## Not run:
object <- HTODemux(object)
HTOHeatmap(object)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.