gcContent: Calculate The Overall GC-Content

Description Usage Arguments Details Value Author(s)

View source: R/qualityControl.R

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


R453Plus1Toolbox documentation built on May 31, 2017, 11:49 a.m.