dataframe2fas: Convert dataframe to fasta format

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function could be used to convert dataframe to fasta format.

Usage

1

Arguments

x

The input dataframe

file

A character naming the file to be saved to.

Details

The input dataframe with the first column the sequences' names, the second column DNA sequences.

Value

Returns data in fasta format.

Author(s)

Jinlong Zhang jinlongzhang01@gmail.com

References

None.

See Also

See also file.cat and raw2Fas

Examples

1
2
3
4
######## fataframe2fas() example
dd <- dataframe2fas(paste("AAACCCTTAAAAAAATTA
TTTTCTATTGGTTTCTTGGGGGGGTT", 1:10, sep = ""))
dd

helixcn/seqRFLP documentation built on May 17, 2019, 3:37 p.m.