View source: R/getArborescence.R
getArborescence | R Documentation |
Function to transform a distance matrix of observations into a list of "Arc"s, a tuple defined in the python script "edmond_arborescence.py"
getArborescence(distances, dfSubclass, germline)
distances |
Either a "dist" or a matrix with the observations. |
dfSubclass |
A two-column data frame holding:
|
germline |
character, the sequence to be taken as the germline Note, that the germline has subclass type "germline" and observations without a valid subclass must be labelled 'NA' (will be ignored). |
A data frame with the columns "startID" (number of start), "endID" (number of end point), "weight" (weight of the arc), "startLabel" (the labels for the start IDs) and "endID" (the labels for the end IDs) for an arborescence minimum spanning tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.