Learn R Programming

rphast (version 1.6.9)

gc.content.msa: Get the fraction of G's and C's in an alignment

Description

Get the fraction of G's and C's in an alignment

Usage

gc.content.msa(x, seq = NULL, ignore.missing = TRUE, ignore.gaps = TRUE)

Arguments

x

An object of type msa

seq

A vector of character strings identifying the sequence(s) to use in the base frequency tabulation. If NULL, use all sequences.

ignore.missing

If FALSE, count missing data in the denominator.

ignore.gaps

If TRUE, count gaps in the denominator.

Value

The fraction of bases which are C's and G's