phyloseq_import_mothur: Create a phyloseq file from mothur database file

Description Usage Arguments Value Examples

View source: R/phyloseq.R

Description

Write out 3 files:

Usage

1
phyloseq_import_mothur(file_mothur, file_samples, n_taxo_levels)

Arguments

file_mothur

File created by mothur using the database function

file_samples

A tsv file with the sample metadata. There must be a column "sample_id" with the ID of the samples which should exactly matching the names of the columns in the mothur database file

n_taxo_levels

Number of taxonomic levels (e.g. 8 if using PR2)

Value

TRUE if no problem

Examples

1
phyloseq_import_mothur("mothur.database", "mothur_samples.tsv", 6)

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.