Description Usage Arguments Value
View source: R/derivedParameter_functions.R
Returns cluster assignments for intensity values based on a control ligand
1 | kmeansCluster(x, value, ctrlLigand = "HighSerum")
|
x |
A dataframe or data.table |
value |
A character vector of one column name in x that conatins non-negative intensity values |
ctrlLigand |
A character vector of one Ligand name in x |
Cluster assignments of length nrow(x)for the value column based on a kmeans threshold calculated from the ligand values. The values are 1 for intensities above the threshold and 0 for values equal to or less than the trheshold.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.