Closed DillonHammill closed 6 years ago
plugin is designed to be agnostic to the template itself, all it does is to take a flowFrame and spit out the gate or gates. Can you elaborate your use case?
I would like to use the population names as a prompt within the gating function. For example within the DrawGate plugin I want to print a message saying "gate this population". I am also looking into multigate approaches so it would be useful to know the expected number of gates.
As you can see https://github.com/RGLab/openCyto/blob/trunk/R/pluginFramework.R#L49-L52
these are the current formals expected by plugins, alias
is not one of them. The idea is to keep it as clean as possible. We have to think about this before adding it to the framework. For drawGate case, I still prefer to keep this interactive thing outside of the template gating process.
Also, shouldn't the number of gates be determined by the gating function itself? You can simply leave the alias as *
and set filterId
slot to your desired name for each gate object generated in your function.
Ok fair enough. I made many updates to the plugin, I will let you know when I have pushed the changes to GitHub.
Hi guys,
Just wondering if there is a way to access entries in the
GatingTemplate
within a plugin gating function? For example would it be possible to extract thealias
entry to determine the number of expected gates or population names?Thanks again!
Dillon``