mp_extract_tree {MicrobiotaProcess} | R Documentation |
extract the taxonomy tree in MPSE object
mp_extract_tree(x, type = "taxatree", tip.level = "OTU", ...) ## S4 method for signature 'MPSE' mp_extract_tree(x, type = "taxatree", tip.level = "OTU", ...) ## S4 method for signature 'tbl_mpse' mp_extract_tree(x, type = "taxatree", tip.level = "OTU", ...) ## S4 method for signature 'grouped_df_mpse' mp_extract_tree(x, type = "taxatree", tip.level = "OTU", ...) mp_extract_taxatree(x, tip.level = "OTU", ...) mp_extract_otutree(x, ...)
x |
MPSE object |
type |
character taxatree or otutree |
tip.level |
character This argument will keep the nodes belong to the tip.level as tip nodes when type is taxatree, default is OTU, which will return the taxa tree with OTU level as tips. |
... |
additional arguments |
taxatree treedata object