Learn R Programming

seqRFLP (version 1.0.1)

write.fasta: Write fasta format object to file

Description

To save the fasta format object to speciefied file.

Usage

write.fasta(sequences, file = NULL)

Arguments

sequences
The fasta object to be saved.
file
A character string naming the file to be saved to.

Value

Saved fasta file.

Details

sequences must be an object of class fasta.

References

None.

See Also

See Also read.fasta

Examples

Run this code
data(fil.fas)
write.fasta(fil.fas, "example.fasta")
## Remove the file.
unlink("example.fasta")

Run the code above in your browser using DataLab