groupByTree {flowWorkspace} | R 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 getNodes(gh, path = "auto", showHidden = F) returns the same set

### Usage

    groupByTree(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 <- groupByTree(gslist)

    ## End(Not run)

[Package flowWorkspace version 3.30.2 Index]