Description Usage Arguments Author(s) See Also Examples
Calculate and export flow cytometry statistics for a flowFrame.
1 2 3 | ## S4 method for signature 'flowFrame'
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,flowSet-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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[[4]],
channels = c("Alexa Fluor 647-A", "7-AAD-A"),
trans = trans,
stat = "median"
)
cyto_stats_compute(fs[[1]], stat = "count")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.