get all the descendant nodes for the given ancester

gh_pop_get_descendants(gh, node, showHidden = TRUE, ...)

Arguments

gh

GatingHierarchy

node

the node path

showHidden

whether show hidden nodes

...

passed to getNode call

Examples

library(flowWorkspace) dataDir <- system.file("extdata",package="flowWorkspaceData") suppressMessages(gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))) gh_pop_get_descendants(gs[[1]], "CD4")
#> [1] "/not debris/singlets/CD3+/CD4/38- DR+" #> [2] "/not debris/singlets/CD3+/CD4/38+ DR+" #> [3] "/not debris/singlets/CD3+/CD4/38+ DR-" #> [4] "/not debris/singlets/CD3+/CD4/38- DR-" #> [5] "/not debris/singlets/CD3+/CD4/CCR7- 45RA+" #> [6] "/not debris/singlets/CD3+/CD4/CCR7+ 45RA+" #> [7] "/not debris/singlets/CD3+/CD4/CCR7+ 45RA-" #> [8] "/not debris/singlets/CD3+/CD4/CCR7- 45RA-"
gh_pop_get_descendants(gs[[1]], "CD8", path = "auto")
#> [1] "CD8/38- DR+" "CD8/38+ DR+" "CD8/38+ DR-" "CD8/38- DR-" #> [5] "CD8/CCR7- 45RA+" "CD8/CCR7+ 45RA+" "CD8/CCR7+ 45RA-" "CD8/CCR7- 45RA-"