wsp_get_gs | R Documentation |
Get (subsetted) gatingsets from flowjo workspaces
wsp_get_gs(
wsp,
FCS.file.folder = NULL,
groups = NULL,
invert_groups = F,
samples = NULL,
invert_samples = F,
remove_redundant_channels = F,
lapply_fun = lapply,
split_size = 2,
additional.sampleID = F,
...
)
wsp |
vector of paths to flowjo workspaces |
FCS.file.folder |
path to folder(s) of FCS files; may be one path for all wsp or a vector of paths, one for each wsp; if not provided (NULL) fcs file paths are derived individually from wsps (xml) |
groups |
vector or list of groups in flowjo to consider; if a list, each index corresponds to the index in wsp; if NULL samples from all groups are read |
invert_groups |
logical whether to invert group selection |
samples |
vector or list of samples to select (names of FCS files), each index corresponds to the index in wsp; if NULL all samples (from selected groups) are read |
invert_samples |
logical whether to invert sample selection |
remove_redundant_channels |
remove channels that are not part of the gating tree, mainly to reduce memory load |
lapply_fun |
function name without quotes; lapply, pbapply::pblapply or parallel::mclapply are suggested |
split_size |
chunk size of splits of fcs files parsed to CytoML::flowjo_to_gatingset; splitting allows to have a progress bar from pblapply or to use multicore processing by parallel::mclapply |
... |
additional argument to the lapply function; mainly mc.cores when parallel::mclapply is chosen |
list of gatingsets
## Not run:
gs_list <- fcexpr::wsp_get_gs(wsp = "mypath/my.wsp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.