GC.content {ape}R Documentation

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.

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.

Author(s)

Emmanuel Paradis

See Also

base.freq, seg.sites, nuc.div


[Package ape version 3.0 Index]