Question: Add flowclust gate to gatingset
0
gravatar for pavitrarc
2.4 years ago by
pavitrarc20
United States/Seattle/Fred Hutch
pavitrarc20 wrote:

How do I add a flowclust 2d gate to an existing gatingset? I am able to do this successfully for rectangle gates using add(gs,myrectgate,...) but I can't figure out how to do a similar thing with a flowclust gate. 

flowclust opencyto • 464 views
ADD COMMENTlink modified 2.4 years ago by Jiang, Mike1.2k • written 2.4 years ago by pavitrarc20
Answer: Add flowclust gate to gatingset
1
gravatar for Jiang, Mike
2.4 years ago by
Jiang, Mike1.2k
(Private Address)
Jiang, Mike1.2k wrote:

If you are using the function 'gate_flowClust_2d' from openCyto package, it returns a polygonGate, which can be added as it is to `GatingSet` by `add` method. If you were talking about using `flowClust` package directly (e.g. through 'flowClust` function), you need to convert the tmixFilter result to `ellipseGate`. It can be done through the convenient internal wrapper  'openCyto:::.getEllipseGate`. Alternatively, you can use another helper function ('cytoUtils::tmix2DGate') to invoke the `flowClust` and get the multiple (depends on your input of 'K') polygonGates .

ADD COMMENTlink written 2.4 years ago by Jiang, Mike1.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 412 users visited in the last hour