View source: R/cyto_channels-helpers.R
cyto_channels_restrict | R Documentation |
cyto_channels_restrict
removes any unused channels (channels lacking
marker assignments) from a flowFrame
, flowSet
,
GatingHierarchy
or GatingSet
. By default,
cyto_channels_restrict
will always retain any FSC, SSC or Time
channels irrespective of marker assignment. Removal of channels that contain
marker assignments or channels that are privileged channels (FSC/SSC/Time)
can be forced through use of the exclude
argument.
## S3 method for class 'flowFrame' cyto_channels_restrict(x, exclude = NULL, ...) ## S3 method for class 'flowSet' cyto_channels_restrict(x, exclude = NULL, ...) ## S3 method for class 'GatingSet' cyto_channels_restrict(x, exclude = NULL, ...)
x |
object of class |
exclude |
vector of privileged channels or markers to remove in addition to the channels removed by default, set to NULL by default. |
... |
additional arguments passed to |
an object of class flowFrame
, flowSet
,
GatingHierarchy
or GatingSet
with unused channels removed.
Dillon Hammill, Dillon.Hammill@anu.edu.au
library(CytoExploreRData) # Activation flowSet fs <- Activation # Channels cyto_channels(fs) # Remove unused channels fs <- cyto_channels_restrict(fs) # Channels removed cyto_channels(fs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.