Description Usage Arguments Value Note Author(s)
View source: R/cit.centroidsFunc.R
calculate distance between individuals and centroids; used in cit.centroids()
| 1 2 3 4 5 6 7 8 9 | 
| d | a  | 
| centroids | object obtained via a call to  | 
| dist.meth | distance method used to calculate distance between individuals (columns in  | 
| maxDist | individuals for which nearest centroid is above this threshold are discarted (used only if  | 
| d.isPretreated | indicate wether  | 
| sdifftop | cut-off on the diffences between distances to centroids. If the distance is inferior to this cut-off for n centroids the sample is assigned to the n groups in the output variable predmixed. If NULL, the cut-off is defined as the 1st decile of the difference between the top 2 closest centroids on data used to compute centroids. | 
| sdisttocent | cut-off on the mad (median absolute deviation) of distances to the centroid to define a sample as outlier. If the distance to the centroid of the assigned group is superior to  | 
| verbose | boolean if output should be displayed | 
a list giving the distance between individuals and centroids and the predicted class for each individuals
This is a contribution from the Tumor Identity Cards (CIT) program founded by the 'Ligue Nationale Contre le Cancer' (France): http://cit.ligue-cancer.net. For any question please contact CITR@ligue-cancer.net
Aurelien de Reynies, Laetitia Marisa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.