File: DNAbin2indel.Rd

package info (click to toggle)
r-cran-ape 5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,932 kB
  • sloc: ansic: 7,626; cpp: 116; sh: 17; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 767 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\name{DNAbin2indel}
\alias{DNAbin2indel}
\title{Recode Blocks of Indels}
\description{
  This function scans a set of aligned DNA sequences and returns a
  matrix with information of the localisations and lengths on alignment
  gaps.
}
\usage{
DNAbin2indel(x)
}
\arguments{
  \item{x}{an object of class \code{"DNAbin"}.}
}
\details{
  The output matrix has the same dimensions than the input one with,
  either a numeric value where an alignment gap starts giving the length
  of the gap, or zero. The rownames are kept.
}
\value{
  a numeric matrix.
}
\author{Emmanuel Paradis}
\seealso{
  \code{\link{DNAbin}}, \code{\link{as.DNAbin}}, \code{\link{del.gaps}},
  \code{\link{seg.sites}}, \code{\link{image.DNAbin}},
  \code{\link{checkAlignment}}
}
\keyword{manip}