cyto_extract | R Documentation |
cyto_extract
is essentially a wrapper for
gs_pop_get_data
which also
accepts flowFrame
or
flowSet
objects. The parent
population is extracted from
GatingHierarchy
or
GatingSet
objects whilst
flowFrame
or flowSet
objects are returned as is.
cyto_extract(
x,
parent = NULL,
select = NULL,
copy = FALSE,
raw = FALSE,
channels = NULL,
...
)
x |
object of class |
parent |
name of the parent population to extract from
|
select |
named list containing experimental variables to be used to
select samples using |
copy |
logical indicating whether a deep copy of the extracted data should be returned. |
raw |
logical indicating whether a list of raw data matrices should be returned instead of a flowFrame or flowSet. |
channels |
names of the markers or channels for which data should be extracted, set to all channels by default. |
... |
additional arguments passed to
|
either a flowFrame
or a cytoset
by default. A list of
raw data matrices when raw is set to TRUE.
Dillon Hammill, Dillon.Hammill@anu.edu.au
# Load in CytoExploreRData to access data
library(CytoExploreRData)
# GatingSet
gs <- GatingSet(Activation)
# Extract cytoframe
cf <- cyto_extract(gs[[1]], parent = "root")
# Extract cytoset
cs <- cyto_extract(gs, parent = "root")
# Extract raw data matrices
mt <- cyto_extract(gs, parent = "root", raw = TRUE)
mt[["Activation_1.fcs"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.