df2fasta {EnvNJ} | R Documentation |
Converts a dataframe into a fasta file.
df2fasta(df, out.file)
df |
a named (both rows and cols) dataframe (see details). |
out.file |
path and name of output file. |
The format of the df should be as follows. Each row represents a protein sequence and each column a species.
A fasta file that is saved in the specified path.
fastaconc()
## Not run: df2fasta(df = bovids, out.file = "./example.fasta")