as_binary_otu_table {MiscMetabar} | R Documentation |
Transform the otu_table of a phyloseq-class
object into a
phyloseq-class
object with a binary otu_table.
Description
Usage
as_binary_otu_table(physeq, min_number = 1)
Arguments
physeq |
(required): a |
min_number |
(int) the minimum number of sequences to put a 1 in the OTU table. |
Value
A physeq
object with only 0/1 in the OTU table
Note
Useful to test if the results are not biased by sequences bias that appended during PCR or NGS pipeline.
Author(s)
Adrien Taudière
Examples
data(enterotype)
enterotype_bin <- as_binary_otu_table(enterotype)
[Package MiscMetabar version 0.9.1 Index]