[Seqinr-commits] r1739 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 7 12:13:46 CET 2010


Author: lobry
Date: 2010-03-07 12:13:46 +0100 (Sun, 07 Mar 2010)
New Revision: 1739

Modified:
   pkg/man/zscore.Rd
Log:
rho() has gained a wordsize argument as suggested by Avril Coghlan

Modified: pkg/man/zscore.Rd
===================================================================
--- pkg/man/zscore.Rd	2010-03-07 11:13:18 UTC (rev 1738)
+++ pkg/man/zscore.Rd	2010-03-07 11:13:46 UTC (rev 1739)
@@ -10,11 +10,12 @@
   the rho statistic, and the z-score, each computed for all 16 dinucleotides.
 }
 \usage{
-rho(sequence, alphabet = s2c("acgt"))
+rho(sequence, wordsize = 2, alphabet = s2c("acgt"))
 zscore(sequence, simulations = NULL, modele, exact = FALSE, alphabet = s2c("acgt"), ... )
 }
 \arguments{
-  \item{sequence}{ A nucleic acids sequence }
+  \item{sequence}{a vector of single characters.}
+  \item{wordsize}{an integer giving the size of word (n-mer) to consider.}
   \item{simulations}{ If \code{NULL}, analytical solution is computed
     when available (models \code{base} and \code{codon}). Otherwise, it
     should be the number of permutations for the z-score computation }
@@ -88,7 +89,7 @@
 
   \code{citation("seqinr")}
 }
-\author{ Leonor Palmeira }
+\author{Leonor Palmeira and J.R. Lobry with suggestions from Avril Coghlan.}
 \seealso{ \code{\link{permutation}} }
 \examples{
 sequence <- sample(x = s2c("acgt"), size = 6000, replace = TRUE)
@@ -98,4 +99,3 @@
 zscore(sequence, modele = "codon")
 zscore(sequence, simulations = 1000, modele = "syncodon")
 }
-\keyword{ utilities }



More information about the Seqinr-commits mailing list