base.freq {ape} | R Documentation |
This function computes the relative frequencies (i.e. percentages) of the four DNA bases (adenine, cytosine, guanine, and thymidine) from a sample of sequences.
base.freq(x)
x |
a vector, a matrix, a data frame, or a list which contains the DNA sequences. |
The base frequencies are computed over all sequences in the sample. All missing or unknown sites are discarded from the computations.
A table of relative frequencies with the names "a"
, "c"
,
"g"
, and "t"
.
Emmanuel Paradis paradis@isem.univ-montp2.fr
GC.content
, seg.sites
,
nuc.div