]> git.donarmstrong.com Git - ape.git/blobdiff - man/del.gaps.Rd
adding del.gaps()
[ape.git] / man / del.gaps.Rd
diff --git a/man/del.gaps.Rd b/man/del.gaps.Rd
new file mode 100644 (file)
index 0000000..3a22424
--- /dev/null
@@ -0,0 +1,31 @@
+\name{del.gaps}
+\alias{del.gaps}
+\title{
+  Delete Alignment Gaps in DNA Sequences
+}
+\usage{
+del.gaps(x)
+}
+\arguments{
+  \item{x}{a matrix, a list, or a vector containing the DNA sequences.}
+}
+\description{
+  This function removes the insertion gaps (\code{"-"}) in a sample of
+  DNA sequences.
+}
+\details{
+  The sequences can be either in \code{"DNAbin"} or in character format,
+  but the returned object is always of class \code{"DNAbin"}. If
+  \code{x} is a vector, then a vector is returned; if it is a list or a
+  matrix, then a list is returned.
+}
+\value{
+  A vector (if there is only one input sequence) or a list of class
+  \code{"DNAbin"}.
+}
+\author{Emmanuel Paradis \email{Emmanuel.Paradis@ird.fr}}
+\seealso{
+  \code{\link{base.freq}}, \code{\link{GC.content}},
+  \code{\link{theta.s}}, \code{\link{nuc.div}}, \code{\link{seg.sites}}
+}
+\keyword{univar}