gh_generate_template {openCyto} | R Documentation |
To ease the process of replicating the existing (usually a manual one) gating schemes,
this function populate an empty gating template with the 'alias', 'pop', 'parent' and 'dims'
columns that exacted from an GatingHierarchy
, and leave the other columns (e.g. 'gating_method') blank.
So users can make changes to that template instead of writing from scratch.
gh_generate_template(gh)
gh |
a |
a gating template in data.frame
format that requires further edition after output to csv
library(flowWorkspace) dataDir <- system.file("extdata",package="flowWorkspaceData") gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE)) gh_generate_template(gs[[1]])