Skip to contents

[Maturing]

Usage

as_binary_otu_table(physeq, min_number = 1)

Arguments

physeq

(required): a phyloseq-class object obtained using the phyloseq package.

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

Adrien Taudière

Examples

data(enterotype)
enterotype_bin <- as_binary_otu_table(enterotype)