pr2_export: Export the PR2 database (one file)

Description Usage Arguments Value Examples

Description

This will save the pr2 database in variety of format. The files are compressed as .gz

Notes

Usage

1
2
3
4
5
6
7
pr2_export(
  pr2_select,
  file_name,
  file_type = "fasta",
  file_format = "fasta_taxo_long",
  taxo_levels_number = 9
)

Arguments

pr2_select

data frame - the pr2 database or an extract of the pr2 database

file_name

character - full path of file where to save

file_type

character - one of "fasta", "taxo", "metadata", "merged", "merged_excel"

file_format

character - one of "UTAX", "fasta_taxo_short","fasta_taxo_long","dada2", "dada2_species","mothur"

Value

Write the files in compressed format (.gz)

Examples

1
pr2_export(pr2, "C:/Daniel/myfile.fas", "fasta", "mothur", 9)

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