cyto_select | R Documentation |
Select samples based on experiment variables
cyto_select(x, ...)
x |
object of class |
... |
named list containing experimental variables to be used to select
samples or named arguments containing the levels of the variables to
select. See below examples for use cases. Selected samples can be excluded
by setting |
flowSet
or GatingSet
restricted to samples which meet
the designated selection criteria.
Dillon Hammill, Dillon.Hammill@anu.edu.au
# Load in CytoExploreRData to access data
library(CytoExploreRData)
# Look at experiment details
cyto_details(Activation)
# Select Stim-C samples with 0 and 500 nM OVA concentrations
fs <- cyto_select(Activation,
Treatment = "Stim-C",
OVAConc = c(0, 500)
)
# Select Stim-A and Stim-C treatment groups
fs <- cyto_select(
Activation,
list("Treatment" = c("Stim-A", "Stim-C"))
)
# Exclude Stim-D treatment group
fs <- cyto_select(Activation,
Treatment = "Stim-D",
exclude = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.