
Threshold-drift figure: per-sample cut for every marker, coloured by cohort
Source:R/diagnostics.R
fig_threshold_drift.RdThreshold-drift figure: per-sample cut for every marker, coloured by cohort
Usage
fig_threshold_drift(
thr,
outfile,
group_of,
stats = NULL,
reference = NULL,
panel_label = "",
dpi = 200,
colors = fcs_colors(),
y_label = "derived threshold (asinh intensity)"
)Arguments
- thr
The thr.
- outfile
Path to write the figure to.
- group_of
Named character vector mapping sample_id to group label.
- stats
Statistics table from the matching stats_ function, used to annotate the figure.
- reference
The group every other group is compared against.
- panel_label
Marker-panel name added to the figure title; empty for none. Default
"".- dpi
Resolution in dots per inch. May be reduced automatically to respect the raster ceiling; see
safe_ggsave(). Default200.- colors
Named list of colours; defaults to the package palette. See
fcs_colors(). Defaultfcs_colors().- y_label
Axis label naming the scale the cuts are on, e.g. the run's
transform$label. Default"derived threshold (asinh intensity)".