getSilhouetteStats | R Documentation |
Draw silhouette plots and get silhouette statistics
getSilhouetteStats( dataOrderedByClass, numClasses, outFileBase, outPath, EMrep = NULL, doIndividualPlots = FALSE, silStats = NULL, distMetric = list(name = "euclidean", rescale = F) )
dataOrderedByClass |
A matrix of methylation or bincount values (reads x position) that have been ordered by class. The assigned class, e.g. "__class1" etc has been appended to read names. |
numClasses |
An integer indicating the number of classes to learn |
outFileBase |
A string that will be used in the filenames and titles of the plots produced |
outPath |
path to directory where plots will be saved |
EMrep |
An integer indicating which EM repeat this is |
doIndividualPlots |
Produce individual plots for each repeat (default=F) |
silStats |
data.frame with statistics about the silhouette plots (default=NULL) |
distMetric |
A list with the name of the distance metric and any parameters it might require |
silStats data.frame with statistics about the silhouette plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.