Return the flowCore gate definition object associated with a node in a GatingHierarchy or GatingSet object.

gh_pop_get_gate(obj, y)

gs_pop_get_gate(obj, y)

## Arguments

obj A GatingHierrarchy or GatingSet A character the name or full(/partial) gating path of the node of interest.

## Value

A gate object from flowCore. Usually a polygonGate, but may be a rectangleGate. Boolean gates are represented by a "BooleanGate" S3 class. This is a list boolean gate definition that references populations in the GatingHierarchy and how they are to be combined logically. If obj is a GatingSet, assuming the trees associated with each GatingHierarchy are identical, then this method will return a list of gates, one for each sample in the GatingSet corresponding to the same population indexed by y.

gh_pop_get_data gs_get_pop_paths
  if (FALSE)   #gh is a GatingHierarchy