Description Usage Arguments Value Examples
View source: R/tailor_methods.R
If major phenotype definitions are available (e.g. "CD4 Naive"), based on only a few of the markers in the panel, label each categorical cluster by one of these major phenotypes.
1 | categorical_labeling(tailor_obj, defs)
|
tailor_obj |
A tailor object, as obtained from tailor.learn. |
defs |
A matrix or data frame giving definitions of major phenotypes. |
The tailor object, with updated information about categorical labels.
1 2 3 4 5 6 7 8 9 10 11 | fileName <- system.file("extdata", "sampled_flowset_old.rda",
package = "Tailor")
load(fileName)
tailor_params <- flowCore::colnames(fs_old)[c(7:9, 11:22)]
tailor_obj <- tailor_learn(data = fs_old,
params = tailor_params,
mixture_components = 50)
defs <- read.csv("~/git/R/packages/Tailor/inst/extdata/pheno_definitions.csv",
row.names = 1, stringsAsFactors = FALSE)
tailor_obj <- categorical_labeling(tailor_obj, defs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.