Description Usage Arguments Details Value See Also Examples
Converts a set of vectors into a tree.
1 | vect2tree(path, metric = "cosine", clustering = "nj")
|
path |
path to the working directory. This directory must contain a txt file per vector and an additional txt file named vlist.txt that provides the names (one per line) of the vector txt files. |
metric |
character string indicating the metric (see metrics() to see the methods allowed). |
clustering |
string indicating the clustering method, either "nj" or "upgma". |
This function computes the distance matrix and builds the corresponding tree.
a list with two elements: a distance matrix and a tree.
envnj(), fastaconc(), envfascpp()
1 | ## Not run: vec2tree("./data_t")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.