Description Usage Arguments Value Examples
View source: R/tailor_methods.R
Plot a t-SNE reduction to 2d of the cluster centroids.
1 | plot_tailor_majpheno(tailor_obj)
|
tailor_obj |
A tailor object, as obtained from tailor.learn. |
A 2d reduced plot of cluster centroid, color-coded by major phenotype.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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)
plot_tailor_majpheno(tailor_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.