GatingSet/GatingHierarchy C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
NumericMatrix getSingleCellExpressionByGate ( XPtr< GatingSet gs,
string  sampleName,
List  markers_pops,
NumericMatrix  data,
CharacterVector  markers,
bool  threshold 
)

assume the channel, markers are in consistent order among markers_pops, data, markers since we use numeric index to mask the columns in data matrix