Learn R Programming

peplib (version 1.03)

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 = "")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
  }
If a MotifModel is passed, then the motifs are extracted from the sequences and only those are output. Otherwise, the complete sequences are written.
[object Object]

Sequences, MotifModel, write.sequences.

IO file

Arguments