groupOTU {treeio} | R Documentation |
group tree based on selected OTU, will traceback to MRCA
groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'beast' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'codeml' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'codeml_mlc' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'jplace' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'treedata' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'phangorn' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'phylip' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'paml_rst' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'phylo' groupOTU(object, focus, group_name = "group", ...) ## S4 method for signature 'r8s' groupOTU(object, focus, group_name = "group", tree = "TREE", ...)
object |
supported objects, including phylo, paml_rst, codeml_mlc, codeml, jplace, beast, hyphy |
focus |
a vector of tip (label or number) or a list of tips. |
group_name |
name of the group, 'group' by default |
... |
additional parameter |
tree |
which tree selected |
group index