GC.content {ape} | R Documentation |
This function computes the percentage of G+C in a sample of DNA sequences.
GC.content(x)
x |
a vector, a matrix, a data frame, or a list which contains the DNA sequences. |
The percentage of G+C is computed over all sequences in the
sample. All missing or unknown sites are discarded from the
computations. The present function actually uses the function
base.freq
.
A single numeric value is returned.
Emmanuel Paradis