Helper function for MyClustering which chooses the closest cluster for a given sample
1 | ChooseClosestCluster(ClustMeans, val, nClust)
|
ClustMeans |
An nClust x p numeric Matrix of the mean values of each paramater for each cluster. |
val |
The specific sample for which the closest cluster is desired. |
nClust |
Expected total number of clusters (i.e the possible dosage values). Default is 5 for tetraploids. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.