Description Usage Arguments Value Examples
View source: R/tailor_methods.R
After visual inspection of 1D mixtures, manually specify the number of mixture components to learn for some of the markers.
1 2 3 4 5 6 7 | customize_1D_mixtures(
data,
to_customize,
mixtures_1D,
sample_fraction = 0.2,
verbose = FALSE
)
|
data |
A flowSet, flowFrame or a matrix containing events along the rows, markers along columns. |
to_customize |
A named list, whose names are markers, and values are the number of mixture components to learn for each marker. |
mixtures_1D |
1D mixture models, obtained from get_1D_mixtures. |
sample_fraction |
A number between 0 and 1: the fraction of data points used in the calculation of 1D mixture components, to improve runtime. |
verbose |
Boolean flag; if true, outputs timing and milestone information. |
Updated version of mixtures_1D.
1 2 3 4 5 6 7 8 9 | fileName <- system.file("extdata", "sampled_flowset_old.rda",
package = "Tailor")
load(fileName)
tailor_params <- flowCore::colnames(fs_old)[c(7:9, 11:22)]
mixtures_1D <- get_1D_mixtures(fs_old, tailor_params)
to_customize <- list("CD127BV421" = 2)
mixtures_1D <- customize_1D_mixtures(fs_old, to_customize,
mixtures_1D)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.