match_data {hilldiv} | R Documentation |
Filter count tables and OTU/ASV phylogenetic trees to match OTUs/ASVs present in both data files..
match_data(countable, tree, output)
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'). |
Match data
Antton Alberdi, anttonalberdi@gmail.com
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")