[Seqinr-commits] r1781 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 6 12:26:34 CEST 2014


Author: jeanlobry
Date: 2014-06-06 12:26:33 +0200 (Fri, 06 Jun 2014)
New Revision: 1781

Modified:
   pkg/man/write.fasta.Rd
Log:
add an as.string argument so that write.fasta can handle sequences when provided as strings

Modified: pkg/man/write.fasta.Rd
===================================================================
--- pkg/man/write.fasta.Rd	2014-06-06 10:26:15 UTC (rev 1780)
+++ pkg/man/write.fasta.Rd	2014-06-06 10:26:33 UTC (rev 1781)
@@ -5,11 +5,13 @@
   Writes one or more sequences into a file in FASTA format.
 }
 
-\usage{write.fasta(sequences, names, file.out, open = "w", nbchar = 60)}
+\usage{write.fasta(sequences, names, file.out, open = "w", nbchar = 60, as.string = FALSE)}
 
 \arguments{
   \item{sequences}{ A DNA or protein sequence (in the form of a
-    vector of single characters) or a list of such sequences. }
+    vector of single characters by default) or a list of such sequences. }
+  \item{as.string}{ FALSE. When set to TRUE sequences are in the
+    form of strings instead of vectors of single characters. }
   \item{names}{ The name(s) of the sequences. }
   \item{nbchar}{ The number of characters per line (default: 60) }
   \item{file.out}{ The name of the output file. }



More information about the Seqinr-commits mailing list