This function performs quality control on flow cytometry data using the PeacoQC method. It transforms the data, removes margins, and identifies good cells. The function also optionally plots the results and saves the cleaned data.
do.peacoQC(
dirty.expr,
sample.name,
spectral.channel,
biexp.transform,
transform.inv,
output.dir,
time.param,
all.channels,
method = "MAD",
figures = TRUE,
verbose = TRUE
)A matrix containing the raw expression data, pre-cleaning.
The name of the sample.
The spectral channels to be used.
The biexponential transformation function.
The inverse transformation function.
The directory to save output files.
The time channel parameter.
A vector of all channels to be included in the final cleaned data.
The PeacoQC method to use. Inherited from PeacoQC. Options
are all, MAD or IT. Default is MAD.
Logical. Controls whether PeacoQC plots are created. Default
is TRUE.
Logical, default is TRUE. Set to FALSE to suppress messages.
A matrix with the cleaned expression data.