plotEvents {CATALYST} | R Documentation |
Plots normalized barcode intensities for a given barcode.
plotEvents( x, which = "all", assay = "scaled", n = 1000, out_path = NULL, out_name = "event_plot" )
x |
|
which |
|
assay |
character string specifying which
assay data slot to use. One of |
n |
single numeric specifying the number of events to plot. |
out_path |
character string. If specified,
events plots for all barcodes specified via |
out_name |
character strings specifying
the output's file name when |
Plots intensities normalized by population for each barcode specified
by which
: Each event corresponds to the intensities plotted on a
vertical line at a given point along the x-axis. Events are scaled to the
95% quantile of the population it has been assigned to. Barcodes with
less than 50 event assignments will be skipped; it is strongly recommended
to remove such populations or reconsider their separation cutoffs.
a list of ggplot
objects.
Helena L Crowell helena.crowell@uzh.ch
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.
data(sample_ff, sample_key) sce <- prepData(sample_ff, by_time = FALSE) sce <- assignPrelim(sce, sample_key) plotEvents(sce, which = "D1")