Export sequences from an ampvis2 object with added taxonomy.
amp_export_fasta(data, filename = "exported_sequences.fa", tax = TRUE, ...)
Arguments
- data
(required) Data list as loaded with amp_load
.
- filename
File name of the exported FASTA file. (default: "exported_sequences.fa"
)
- tax
(logical) Add taxonomic strings to the output or not. (default: TRUE
)
- ...
Additional arguments directly passed to write.dna
.
Examples
# Load example data
data("AalborgWWTPs")
# Export fasta sequences as "exported_sequences.fa"
if (FALSE) {
amp_export_fasta(AalborgWWTPs)
}