View source: R/sublineage_function.R
Function to assign sub-lineages to isolates according to the structure of a rooted tree.
1 | sublineage(dfs, tree, assign, igraph.tree, thresh, quiet)
|
dfs |
The depth-first search performed on the igraph tree. |
tree |
The rooted phylogenetic tree. |
assign |
Vector of Sub-lineage numbers corresponding to tips on a tree. |
igraph.tree |
Phylogenetic tree converted into a graph |
thresh |
SNP threshold for sub-lineage isolates on the phylogentic tree. |
ntips |
Number of tips on the phylogenetic tree. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.