Calculate The Overall GC-Content

Share:

Description

This function calculates the GC-content summarized over all sequences.

Usage

1
  gcContent(object)

Arguments

object

An object of class DNAStringSet, ShortRead or SFFContainer.

Details

The GC-content is calculated as follows:
(#G + #C / #G + #C + #A + #T) * 100
Where #G is the number of base G in all sequences.

Value

A numeric vector of length one containing the overall GC-content.

Author(s)

Christian Ruckert

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.