df2fasta {EnvNJ}R Documentation

Convert Dataframe into Fasta File

Description

Converts a dataframe into a fasta file.

Usage

df2fasta(df, out.file)

Arguments

df

a named (both rows and cols) dataframe (see details).

out.file

path and name of output file.

Details

The format of the df should be as follows. Each row represents a protein sequence and each column a species.

Value

A fasta file that is saved in the specified path.

See Also

fastaconc()

Examples

## Not run: df2fasta(df = bovids, out.file = "./example.fasta")

[Package EnvNJ version 0.1.3 Index]