# GC.content

From ape v2.7-3
0th

Percentile

##### Content in GC from DNA Sequences

This function computes the percentage of G+C in a sample of DNA sequences.

Keywords
univar
##### Usage
GC.content(x)
##### Arguments
x
a vector, a matrix, a data frame, or a list which contains the DNA sequences.
##### Details

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.

##### Value

• A single numeric value is returned.

base.freq, seg.sites, nuc.div