exportPopulationsToNewExperiment.RdExports populations and FCS files from an experiment into a new experiment.
exportPopulationsToNewExperiment(
experimentId,
compensationId,
name = NULL,
fcsFileIds = NULL,
filenameTemplate = NULL,
populationIds = NULL,
preSubsampleN = NULL,
postSubsampleN = NULL,
preSubsampleP = NULL,
postSubsampleP = NULL,
seed = NULL,
addEventNumber = FALSE
)ID of the source experiment or a byName expression.
ID of compensation, special compensation type
(UNCOMPENSATED, FILE_INTERNAL PER_FILE) or a
byName expression to use for gating. This should generally match
what you used to create your gates.
Name of the new experiment.
FCS file IDs to export, as a character vector or list.
List elements may be byName expressions, which are matched against
FCS filenames. If omitted or empty, all non-control files are used.
Template for the names of the exported files.
Population IDs to export, as a character vector or
list. List elements may be byName expressions, which are matched
against population names. If omitted, the ungated population is exported.
Number of events to subsample before gating.
Number of events to subsample after gating.
Fraction of events to subsample before gating.
Fraction of events to subsample after gating.
Seed for deterministic subsampling.
Whether to add an event number corresponding to the index in the source file.
if (FALSE) { # \dontrun{
exportPopulationsToNewExperiment(
experimentId,
compensationId,
name = "Exported populations",
populationIds = c("populationId1", "populationId2")
)
} # }