Description Usage Arguments Author(s) See Also Examples
Calculate and export flow cytometry statistics for a flowSet.
1 2 3 | ## S4 method for signature 'flowSet'
cyto_stats_compute(x, channels = NULL,
trans = NULL, stat = "median", density_smooth = 1.5)
|
x |
object of class |
channels |
names of of channels for which statistic should be calculated, set to all channels by default. |
trans |
object of class
|
stat |
name of the statistic to calculate, options include
|
density_smooth |
smoothing parameter passed to
|
Dillon Hammill, Dillon.Hammill@anu.edu.au
cyto_stats_compute,flowFrame-method
cyto_stats_compute,GatingSet-method
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)
# Load in samples
fs <- Activation
# Apply compensation
fs <- compensate(fs, fs[[1]]@description$SPILL)
# Transform fluorescent channels
trans <- estimateLogicle(fs[[4]], cyto_fluor_channels(fs))
fs <- transform(fs, trans)
# Compute statistics
cyto_stats_compute(fs,
channels = c("Alexa Fluor 488-A", "PE-A"),
trans = trans,
stat = "median"
)
cyto_stats_compute(fs,
trans = trans,
stat = "geo mean"
)
cyto_stats_compute(fs,
stat = "count"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.