Possible to extract single cell-level gate memberships? #147
-
Hi! Thank you for creating such a powerful package! I know it's very easy to extract population-level statistics from a gatingSet, but is it possible to extract, at the per event level, which gates/nodes they belong to? A single event will often belong to multiple gates of course, so even if I was able to extract a logical vector per node, where the ith element is TRUE if the ith event belongs to node, and FALSE if not, that would be fine. Perhaps I'm overthinking and there is already an easy way to get something like this. Any thoughts you can offer would be much appreciated. Best wishes |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@hrj21, there isn't a nice CytoExploreR wrapper for this as of yet but you can have a look at
These APIs operate at the level of the I have just added a new
|
Beta Was this translation helpful? Give feedback.
@hrj21, there isn't a nice CytoExploreR wrapper for this as of yet but you can have a look at
gh_pop_get_indices()
andgh_pop_get_indices_mat()
fromflowWorkspace
. I will add a wrapper for the latter function which will return a logical vector for multiple populations at once. Here is an example using theActivation
dataset shipped withCytoExploreRData
:These APIs operate at the level of the
GatingHierarchy
so you will need to loop through the s…