Description Usage Arguments Value Author(s) Examples
cyto_channel_check
will check whether the supplied channels are valid
for the supplied flowSet
.
1 2 | ## S4 method for signature 'flowSet'
cyto_channel_check(x, channels, plot = TRUE)
|
x |
an object of class |
channels |
vector of channel names (e.g. c("PE-A","APC-A")) or marker names. |
plot |
logical indicating whether the channels will be used to construct a plot, set to TRUE by default to accept 1 or 2 channels. |
vector of valid channel names.
Dillon Hammill, Dillon.Hammill@anu.edu.au
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | library(CytoRSuiteData)
# Add samples to flowSet
fs <- Activation
# Assign marker names
chnls <- c(
"PE-A",
"Alexa Fluor 488-A",
"Alexa Fluor 700-A",
"Alexa Fluor 647-A",
"7-AAD-A"
)
markers <- c("Va2", "CD8", "CD4", "CD44", "CD69")
names(markers) <- chnls
markernames(fs) <- markers
cyto_channel_check(fs,
channels = c("CD4", "CD8"),
plot = TRUE
)
cyto_channel_check(fs,
channels = c("CD4", "CD8", "CD44", "CD69"),
plot = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.