Calculate distance
1 | calculate_distance(annot, method, col, ...)
|
annot |
A data.frame object containing sample annotation values |
method |
String similarity measure to be used. One of ("jw", "jaro", "sw1", "sw2", "nw1", "nw2", "nw3", "me", "lv", "dl", "osa", "lcs", "qgram", "cosine", "jaccard") |
col |
The column to be used to infer classes from. Default method "combine" attempts to combine all columns for class inferral. |
... |
Additional arguments to the distance functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.