X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fbase.freq.Rd;h=96414a5f2e6234c32dfbc1cfbb493f4f28960e1d;hb=a03a8c554a6fde0dc4313688e3248bfae2e521e4;hp=3847d9cf20c522fc1893048815fd00a76dfe7059;hpb=c827059eeafc8cbe41c812b26979543ab287803e;p=ape.git diff --git a/man/base.freq.Rd b/man/base.freq.Rd index 3847d9c..96414a5 100644 --- a/man/base.freq.Rd +++ b/man/base.freq.Rd @@ -2,14 +2,16 @@ \alias{base.freq} \title{Base frequencies from DNA Sequences} \usage{ -base.freq(x) +base.freq(x, freq = FALSE) } \arguments{ \item{x}{a vector, a matrix, or a list which contains the DNA sequences.} + \item{freq}{a logical specifying whether to return the proportions + (the default) or the absolute frequencies (counts).} } \description{ - This function computes the relative frequencies (i.e. percentages) of + This function computes the relative frequencies (i.e. proportions) of the four DNA bases (adenine, cytosine, guanine, and thymidine) from a sample of sequences. } @@ -19,7 +21,7 @@ base.freq(x) computations. } \value{ - A numeric vector stoting the relative frequencies with names + A numeric vector storing the relative frequencies with names \code{c("a", "c", "g", "t")}. } \author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}}