Description Usage Arguments Value Examples
View source: R/merge.quad.gates.R
For internal usage.
1 2 |
gh |
a GatingHierarchy |
pops |
a vector of population names |
bool |
whether to deal with boolean gate |
a nested list of data structure that captures the information of parent, grouped populations (with the same projections) and the reconstructed quadGate object and the respective quadrant pattern
1 2 3 4 5 6 7 8 9 10 11 | library(flowWorkspace)
dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(file.path(dataDir, "gs_manual"))
#get the GatingHierarchy object
gh <- gs[[1]]
pops <- gs_pop_get_children(gh, "CD4")
grps <- ggcyto:::merge.quad.gates(gh, pops)
length(grps) # pops are grouped into two
grps[[1]] # each group is annotaed with quadGate information
ggcyto:::merge.quad.gates(gh, gs_pop_get_children(gh, "CD3+")) # cd3 subsets are not coercible to quadgate thus return as they are
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.