oneVsAllPlot: Plotting all variables against a single variable

Description Usage Arguments Value

View source: R/oneVsAllPlot.R

Description

This function is useful both when setting appropriate gates and when the adjustments of the compensation are done

Usage

1
2
oneVsAllPlot(flowObj, yCol = "all", nRows = 10000,
  plotName = "default", zeroTrim = TRUE, saveResult = TRUE)

Arguments

flowObj

This is the full dataset, either a flowFrame or a flowSet, that should be plotted. If it has more rows than "nRows", a subsample (with equal contributions from each sample if a flowSet) will be plotted.

yCol

Here, the variable to be plotted against all the others is selected. It can be either a number, the column name of interest or "all".

nRows

The number of rows that will be used to construct the plot. The fewer, the faster, but the resolution also decreases, naturally. Default is 100000.

plotName

If a name different from yCol should be used, it can be added here.

zeroTrim

In the case of CyTOF data, the events at zero can often be so dominant, that all other density variation is dwarfed, and thus invisible. With this command, the events that are zero in both y and x are trimmed for each x separately.

saveResult

Should the result be saved as a file?

Value

A plot with one 2D-graph for each variable that the y-variable should be plotted against.


jtheorell/theFlowSpec documentation built on Aug. 22, 2019, 3:33 a.m.