[Seqinr-commits] r2134 - in pkg: . man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 15 08:14:28 CEST 2021


Author: simonpenel
Date: 2021-06-15 08:14:28 +0200 (Tue, 15 Jun 2021)
New Revision: 2134

Modified:
   pkg/DESCRIPTION
   pkg/man/dotchart.uco.Rd
Log:
dotchart.uco.Rd is modified according to dotchart.uco.R


Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2021-06-14 10:21:08 UTC (rev 2133)
+++ pkg/DESCRIPTION	2021-06-15 06:14:28 UTC (rev 2134)
@@ -1,7 +1,7 @@
 Encoding: UTF-8
 Package: seqinr
-Version: 4.2-9
-Date: 2021-05-18
+Version: 4.2-10
+Date: 2021-06-15
 Title: Biological Sequences Retrieval and Analysis
 Authors at R: c(person("Delphine", "Charif", role = "aut"),
              person("Olivier", "Clerc", role = "ctb"),

Modified: pkg/man/dotchart.uco.Rd
===================================================================
--- pkg/man/dotchart.uco.Rd	2021-06-14 10:21:08 UTC (rev 2133)
+++ pkg/man/dotchart.uco.Rd	2021-06-15 06:14:28 UTC (rev 2134)
@@ -8,7 +8,7 @@
 dotchart.uco(x, numcode = 1, aa3 = TRUE, pt.cex = 0.7, alphabet =
                  s2c("tcag"), pch = 21, gpch = 20, bg = par("bg"), cex
                  = 0.7, color = "black", gcolor = "black", lcolor =
-                 grey(0.9), xlim, ...)
+                 grey(0.9), xlim, offset = 0.4, ...)
 }
 \arguments{
   \item{x}{table of codon usage as computed by \code{uco}. }
@@ -24,7 +24,7 @@
   \item{color}{the color(s) to be used for points an labels. }
   \item{gcolor}{the single color to be used for group labels and values.}
   \item{lcolor}{the color(s) to be used for the horizontal lines.}
-  \item{xlim}{horizontal range for the plot }	
+  \item{xlim}{horizontal range for the plot }
   \item{offset}{offset in inches of ylab and labels; was hardwired to 0.4 before R 4.0.0}
   \item{\dots}{graphical parameters can also be specified as arguments}
 }
@@ -37,8 +37,8 @@
 \item{ypg}{the y-axis coordinates for amino acids}
 \item{ypi}{the y-axis coordinates for codons}
 }
-\references{ Cleveland, W. S. (1985) The Elements of Graphing Data. 
-Monterey, CA: Wadsworth. 
+\references{ Cleveland, W. S. (1985) The Elements of Graphing Data.
+Monterey, CA: Wadsworth.
 \code{citation("seqinr")}
 }
 \author{J.R. Lobry}
@@ -48,9 +48,9 @@
 # Load dataset:
 data(ec999)
 # Compute codon usage for all coding sequences:
-ec999.uco <- lapply(ec999, uco, index="eff") 
+ec999.uco <- lapply(ec999, uco, index="eff")
 # Put it in a dataframe:
-df <- as.data.frame(lapply(ec999.uco, as.vector)) 
+df <- as.data.frame(lapply(ec999.uco, as.vector))
 # Add codon names:
 row.names(df) <- names(ec999.uco[[1]])
 # Compute global codon usage:
@@ -58,6 +58,6 @@
 # Choose a title for the graph:
 title <- "Codon usage in 999 E. coli coding sequences"
 # Plot data:
-dotchart.uco(global, main = title) 
+dotchart.uco(global, main = title)
 }
 \keyword{hplot}



More information about the Seqinr-commits mailing list