gs_split_by_tree: split GatingSets into groups based on their gating schemes Be...

View source: R/merge_GatingSet.R

gs_split_by_treeR Documentation

split GatingSets into groups based on their gating schemes Be careful that the splitted resluts still points to the original data set!!

Description

It allows isomorphism in Gating tree and ignore difference in hidden nodes i.e. tree is considered to be the same as long as gs_get_pop_paths(gh, path = "auto", showHidden = F) returns the same set

Usage

gs_split_by_tree(x)

Arguments

x

a list of GatingSets or one GatingSet

Value

when x is a GatingSet, this function returns a list of sub-GatingSets When x is a list of GatingSets, it returns a list of list, each list itself is a list of GatingSets, which share the same gating tree.

Examples

## Not run: 
gslist <- list(gs1, gs2, gs3, gs4, gs5)
gs_groups <- gs_split_by_tree(gslist)

## End(Not run)

RGLab/flowWorkspace documentation built on March 17, 2024, 2:24 p.m.