View source: R/func__findMinIncCladeOfStrains.R
findMinIncCladeOfStrains | R Documentation |
This function works in a similar way as the function findMinIncClade, except it works on a given set of strains rather than a pair of alleles.
findMinIncCladeOfStrains(strains = NULL, clade.pam = NULL, clade.sizes = NULL)
strains |
a vector of strain names |
clade.pam |
a presence/absence matrix of samples in each clade of an input tree. It can be obtained using the function tree2Clades of phylix. |
clade.sizes |
(optional) A named vector of integers for the number of samples in each clade. It can be obtained from the element "sizes" in the outputs of the function tree2Clades. Optional. |
Yu Wan (wanyuac@126.com)
mic <- findMinIncCladeOfStrains(strains = c("strain1", "strain2"), clade.pam = assoc[["struc"]][["clades"]][["pam"]], clade.sizes = assoc[["struc"]][["clades"]][["sizes"]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.