gcContent {R453Plus1Toolbox}R Documentation

Calculate The Overall GC-Content

Description

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

Usage

  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


[Package R453Plus1Toolbox version 1.42.0 Index]