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

Description Usage Arguments Details Author(s) See Also

View source: R/peplib.R

Description

Write out the given sequences as a FASTA file

Usage

1
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.

Author(s)

Andrew White

See Also

Sequences, MotifModel, write.sequences.


peplib documentation built on May 29, 2017, 10:52 p.m.

Related to write.fasta in peplib...