plotMahal: Biaxial plot

Description Usage Arguments Value Author(s) References Examples

View source: R/plotMahal.R

Description

Histogram of counts and plot of yields as a function of separation cutoffs.

Usage

1
plotMahal(x, which, assay = "exprs", n = 1000)

Arguments

x

a SingleCellExperiment.

which

character string. Specifies which barcode to plot.

assay

character string specifying which assay to use.

n

numeric. Number of cells to subsample; use NULL to include all.

Value

Plots all inter-barcode interactions for the population specified by argument which. Events are colored by their Mahalanobis distance.

Author(s)

Helena L Crowell helena.crowell@uzh.ch

References

Zunder, E.R. et al. (2015). Palladium-based mass tag cell barcoding with a doublet-filtering scheme and single-cell deconvolution algorithm. Nature Protocols 10, 316-333.

Examples

1
2
3
4
5
6
data(sample_ff, sample_key)
sce <- prepData(sample_ff, by_time = FALSE)
sce <- assignPrelim(sce, sample_key)
sce <- estCutoffs(sce)
sce <- applyCutoffs(sce)
plotMahal(sce, which = "B3")

CATALYST documentation built on Nov. 8, 2020, 6:53 p.m.