Description Usage Arguments Value Author(s)
parse a MetaPhlan table to a tree object
1 2 3 4 5 6 7 8 | parseMetaphlanTSV(
tax.profile,
index = 1,
header = FALSE,
delimiter = "\\|",
node.size.scale = 1,
node.size.offset = 1
)
|
tax.profile |
a single metaphlan table (either a file path or a a data.frame) |
index |
the column number of taxonomic annotation |
header |
whether tax.profile provided as a file path contains a header |
delimiter |
delimiter to separate taxonomic anotations |
node.size.scale |
the parameter 'a' controlling node size: nodeSize=a*log(relative_abundance)+b |
node.size.offset |
the parameter 'b' controlling node size: nodeSize=a*log(relative_abundance)+b |
a treeio::treedata object
Chenhao Li, Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.