match_data {hilldiv} | R Documentation |
Match data
Description
Filter count tables and OTU/ASV phylogenetic trees to match OTUs/ASVs present in both data files..
Usage
match_data(countable, tree, output)
Arguments
countable |
A count table (matrix/data.frame) indicating the absolute or relative OTU/ASV abundances of multiple samples. Columns must refer to samples and rows to OTUs/ASVs. |
tree |
An ultrametic tree of class 'phylo'. |
output |
Whether to output a filtered count table ('countable') or a filtered OTU tree ('tree'). |
Details
Match data
Author(s)
Antton Alberdi, anttonalberdi@gmail.com
See Also
Examples
data(bat.diet.otutable)
data(bat.diet.tree)
match_data(bat.diet.otutable,bat.diet.tree,output="countable")
match_data(bat.diet.otutable,bat.diet.tree,output="tree")
[Package hilldiv version 1.5.1 Index]