R/visualization.R
DepthCor.Rd
Compute the correlation between total counts and each reduced dimension component.
DepthCor(object, assay = NULL, reduction = "lsi", n = 10, ...)
A Seurat object
Seurat
Name of assay to use for sequencing depth. If NULL, use the default assay.
Name of a dimension reduction stored in the input object
Number of components to use. If NULL, use all components.
NULL
Additional arguments passed to cor
cor
Returns a ggplot object
ggplot
# \donttest{ DepthCor(object = atac_small) # }