cyto_convert | R Documentation |
Convert between cytometry objects
cyto_convert(x, ...)
## S3 method for class 'flowFrame'
cyto_convert(x, return = "flowFrame", ...)
## S3 method for class 'flowSet'
cyto_convert(x, return = "flowSet", ...)
## S3 method for class 'GatingHierarchy'
cyto_convert(x, parent = "root", return = "GatingHierarchy", ...)
## S3 method for class 'GatingSet'
cyto_convert(x, parent = "root", return = "GatingSet", ...)
x |
|
... |
not in use. |
return |
either 'flowFrame', 'flowSet', 'GatingHierarchy', 'GatingSet', coerced 'flowFrame list' or coerced 'flowSet list'. GatingSet and flowSet objects can also be converted to a 'list of flowFrames'. |
parent |
name of parent population to extract from
|
object specified by 'return' argument.
Dillon Hammill, Dillon.Hammill@anu.edu.au
# Load in CytoExploreRData to access data
library(CytoExploreRData)
# Convert flowSet to 'list of flowFrames'
cyto_convert(Activation, "list of flowFrames")
# Convert flowSet to 'flowFrame'
cyto_convert(Activation, "flowFrame")
# Convert GatingSet to flowFrame
cyto_convert(GatingSet(Activation), "flowFrame", parent = "root")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.