View source: R/func__tree2Clades.R
tree2Clades | R Documentation |
This function is an adaptation of the tree2patterns function in the BugWAS package for phylix.
tree2Clades(tr, sample.order)
tr |
A phylo object of an input tree. |
sample.order |
A character vector of sample names to reorder tips of the input tree. In practice, the names follow the order in the SNP matrix, the allelic PAM and the projection matrix C. |
Yu Wan (wanyuac@126.com)
assoc <- findPhysLink(...) clade.pam <- treeToClades(tr = assoc[["C"]][["tr"]], sample.order = rownames(assoc[["C"]][["C"]]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.