R/cyto-helpers.R
cyto_nodes_ancestor.Rd
Get name of most recent common ancestor shared by nodes
cyto_nodes_ancestor(x, nodes = NULL, ...)
x | object of class |
---|---|
nodes | vector of nodes for which the most recent common ancestor should be returned. |
... | additional arguments passed to |
Dillon Hammill, Dillon.Hammill@anu.edu.au
library(CytoExploreRData) # Activation GatingSet gs <- GatingSet(Activation) # Compensation gs <- cyto_compensate(gs) # Transformations gs <- cyto_transform(gs)#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#># Ancestral node of CD4 T Cells & CD8 T Cells cyto_nodes_ancestor(gs, nodes = c("CD4 T Cells", "CD8 T Cells"))#> [1] "T Cells"