templateGen {openCyto}R Documentation

generate a partially complete csv template from the existing gating hierarchy

Description

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.

Usage

templateGen(gh)

Arguments

gh

a GatingHierarchy likely parsed from a xml workspace

Value

a gating template in data.frame format that requires further edition after output to csv


[Package openCyto version 1.22.0 Index]