Learn R Programming

peplib (version 1.5.1)

write.fasta: Write out the sequences as a FASTA file

Description

Write out the given sequences as a FASTA file

Usage

write.fasta(seqs, motifModel = NULL, file = "", eol = "\n")

Arguments

seqs
Sequences object containing sequences to be written
motifModel
An optional MotifModel fit to the Sequences. This make it so that only the motifs are output!
file
Path to file where sequences will be written
eol
End of line character

Details

If a MotifModel is passed, then the motifs are extracted from the sequences and only those are output. Otherwise, the complete sequences are written.

See Also

Sequences, MotifModel, write.sequences.