Plot doublet composition
plot_doublets_composition.Rd
If the Seurat object contains the doublet cells annotation and scores associated with cell type annotation, it could be interesting to estimate the doublet cells composition.
Usage
plot_doublets_composition(
sobj,
score1,
score2 = score1,
doublet_annotation = "doublets_consensus.class"
)
Arguments
- sobj
A Seurat object (no default)
- score1
CHARACTER : a column of
sobj@meta.data
corresponding to a numerical value (no default)- score2
CHARACTER : a column of
sobj@meta.data
corresponding to a numerical value (default to "score1")- doublet_annotation
CHARACTER : a column of
sobj@meta.data
corresponding to the doublet annotation (default to "doublets_consensus.class")