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.

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

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