ape (version 1.1-3)

GC.content: Content in GC from DNA Sequences

Description

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

Usage

GC.content(x)

Arguments

x
a vector, a matrix, a data frame, or a list which contains the DNA sequences.

Value

  • A single numeric value is returned.

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.

See Also

base.freq