cyto_nodes_ancestor: Get name of most recent common ancestor shared by nodes

View source: R/cyto-helpers.R

cyto_nodes_ancestorR Documentation

Get name of most recent common ancestor shared by nodes

Description

Get name of most recent common ancestor shared by nodes

Usage

cyto_nodes_ancestor(x, nodes = NULL, ...)

Arguments

x

object of class GatingHierarchy or GatingSet.

nodes

vector of nodes for which the most recent common ancestor should be returned.

...

additional arguments passed to cyto_nodes_convert to control the format of the returned ancestral node.

Author(s)

Dillon Hammill, Dillon.Hammill@anu.edu.au

Examples

library(CytoExploreRData)

# Activation GatingSet
gs <- GatingSet(Activation)

# Compensation
gs <- cyto_compensate(gs)

# Transformations
gs <- cyto_transform(gs)

# Gating
gs <- cyto_gatingTemplate_apply(gs, Activation_gatingTemplate)

# Ancestral node of CD4 T Cells & CD8 T Cells
cyto_nodes_ancestor(gs, nodes = c("CD4 T Cells", "CD8 T Cells"))


DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.