## Not run:
# #gh is a GatingHierarchy
# getPopStats(gh);
# #proportion for the fifth population
# getProp(gh,getNodes(gh)[5])
# getTotal(gh,getNodes(gh,tsort=T)[5])
#
# #gs is a GatingSet
# getPopStats(gs)
# #optionally output in long format as a data.table
# getPopStats(gs, format = "long", path = "auto")
# #only get stats for a subset of populations
# getPopStats(gs, format = "long", subpopulations = getNodes(gs)[4:6])
# ## End(Not run)
Run the code above in your browser using DataLab