Description Usage Arguments Value Examples
This will save the pr2 database in variety of format. The files are compressed as .gz
"fasta" - the description line is taylored for different applications (usearch, mothur, dada2, blast). for the application dada2 2 kinds of files can be produced one for otu assignement and one for species
"taxo" - the file is saved with the mothur format
"metadata" - only the metadata
"merged" - the whole database in a single file
Notes
The data are NOT filtered in any way, this should be done before saving
The following fields are needed to create the sequence labels :
pr2_sample_type, gb_strain, gb_clone, gb_specimen_voucher
gene, organelle
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
)
|
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" |
Write the files in compressed format (.gz)
1 | pr2_export(pr2, "C:/Daniel/myfile.fas", "fasta", "mothur", 9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.