cyto_filter | R Documentation |
Filter samples based on experiment variables
cyto_filter(x, ...)
x |
object of class |
... |
tidyverse-style subsetting using comma separated logical
predicates based on experimental variables stored in
|
flowSet
or GatingSet
restricted to samples which meet
the filtering 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_filter(
Activation,
Treatment == "Stim-C",
OVAConc %in% c(0, 500)
)
# Select Stim-A and Stim-C treatment groups
fs <- cyto_filter(
Activation,
Treatment %in% c("Stim-A", "Stim-C")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.