cyto_nodes_convert: Convert to unique node paths

View source: R/cyto-helpers.R

cyto_nodes_convertR Documentation

Convert to unique node paths

Description

cyto_nodes_convert checks whether the supplied nodes exist in the supplied GatingHierarchy or GatingSet and returns unique node paths for each of the supplied nodes. In the case of ambiguous nodes, cyto_nodes_convert will attempt to anchor the node path to a known unique parental node.

Usage

cyto_nodes_convert(x, nodes = NULL, anchor = NULL, path = "auto")

Arguments

x

object of class GatingHierarchy or GatingSet.

nodes

vectors of nodes to check and convert.

anchor

unique path to parental node to use as an anchor for ambiguous nodes.

path

specifies whether the returned nodes should be in the "full" or "auto" format, set to "auto" by default

Value

vector of unique paths for each of the supplied nodes.

Author(s)

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


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