phyloseq_to_fasta: Save Refseqs of phyloseq into a .fasta

View source: R/phyloseq_to_fasta.R

phyloseq_to_fastaR Documentation

Save Refseqs of phyloseq into a .fasta

Description

Write reference sequences of a phyloseq object to a text file with fasta formatting

Usage

phyloseq_to_fasta(physeq, destination_path = NULL, filename = NULL)

Arguments

physeq

A phyloseq object

destination_path

Write the file you want your fasta sequences to be written into. NB: the path must exist already

filename

A character, the name of the file to write the files into. NB: the extension is not written automatically

Value

either a character with the sequences named after the taxon ID, or it writes them into the specified file in Fasta format


g-antonello/gautils2 documentation built on Nov. 28, 2022, 9:39 a.m.