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.

Author

Kasper Skytte Andersen ksa@bio.aau.dk

Mads Albertsen MadsAlbertsen85@gmail.com

Examples

# Load example data
data("AalborgWWTPs")

# Export fasta sequences as "exported_sequences.fa"
if (FALSE) {
amp_export_fasta(AalborgWWTPs)
}