View source: R/tree_fix_brlen.R
tree_fix_brlen | R Documentation |
Take a tree with branch lengths and fix negative or zero length branches.
tree_fix_brlen(
tree = NULL,
fixing_criterion = "negative",
fixing_method = 0,
ultrametric = TRUE
)
tree |
A tree either as a newick character string or as a |
fixing_criterion |
A character vector specifying the type of branch length to be fixed: "negative" or "zero" (the number 0 is also allowed). |
fixing_method |
A character vector specifying the method to fix branch lengths: "bladj", "mrbayes" or a number to be assigned to all branches meeting fixing_criterion |
ultrametric |
Boolean indicating whether to force ultrametric or not. |
A phylo
object with no negative or zero branch lengths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.