https://github.com/cran/ape
Tip revision: 88b62374d892f92ecd45527da6fe3aefd5eb8f3e authored by Emmanuel Paradis on 20 September 2002, 00:00:00 UTC
version 0.2
version 0.2
Tip revision: 88b6237
base.freq.Rd
\name{base.freq}
\alias{base.freq}
\title{Base frequencies from DNA Sequences}
\usage{
base.freq(x)
}
\arguments{
\item{x}{a vector, a matrix, a data frame, or a list which contains
the DNA sequences.}
}
\description{
This function computes the relative frequencies (i.e. percentages) of
the four DNA bases (adenine, cytosine, guanine, and thymidine) from a
sample of sequences.
}
\details{
The base frequencies are computed over all sequences in the
sample. All missing or unknown sites are discarded from the
computations.
}
\value{
A table of relative frequencies with the names \code{"a"}, \code{"c"},
\code{"g"}, and \code{"t"}.
}
\author{Emmanuel Paradis \email{paradis@isem.univ-montp2.fr}}
\seealso{
\code{\link{GC.content}}
}
\keyword{univar}