cyto_merge_by | R Documentation |
cyto_merge_by
makes a call to cyto_group_by
to split samples
into groups based on experiment variables. The resulting groups are then
converted to flowFrames using cyto_convert
. cyto_merge_by
is
the preferred way to merge samples in CytoExploreR as it will ensure
appropriate sampling in cyto_plot
.
## S3 method for class 'GatingSet' cyto_merge_by( x, parent = "root", merge_by = "all", select = NULL, barcode = TRUE, ... ) ## S3 method for class 'flowSet' cyto_merge_by(x, merge_by = "all", select = NULL, barcode = TRUE, ...)
x |
object of class |
parent |
name of the parent population to merge when a |
merge_by |
vector of |
select |
selection critieria passed to |
barcode |
logical indicating whether a call should be made to
|
... |
additional arguments passed to |
list of flowFrames merged by the grouping variables specified by
merge_by
.
Dillon Hammill, Dillon.Hammill@anu.edu.au
cyto_group_by
cyto_select
cyto_barcode
cyto_sample
# Load CytoExploreRData to access data library(CytoExploreRData) # Activation flowSet fs <- Activation # Activation GatingSet gs <- GatingSet(fs) # Experiment details cyto_details(fs) # Merge samples by 'Treatment' fr_list <- cyto_merge_by(fs, "Treatment") # Merge samples by 'OVAConc' fr_list <- cyto_merge_by(fs, "OVAConc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.