
"getIndices"(obj, y)
GatingHierarchy
representing a sample.character
giving the name or full(/partial) gating path of the population / node of interest.GatingHierarchy
. The indices are for all events in the file, and do not reflect the population counts relative to the parent but relative to the root. To get population frequencies relative to the parent one cross-tabulate the indices of y
with the indices of its parent.
getPopStats
## Not run:
# #G is a gating hierarchy
# #Return the indices for population 5 (topological sort)
# getIndices(G,getNodes(G,tsort=TRUE)[5]);
# ## End(Not run)
Run the code above in your browser using DataLab