seqinr (version 1.0-1)

GC3: Calculates the fractional GC3 content of nucleic acid sequences

Description

This calculates the fraction of G+C in third position of the codon bases of the input nucleic acid sequence(s)

Usage

GC3(seq)

Arguments

seq
any nucleic acid sequence

Value

  • It returns the fraction of GC3 as a numeric vector

References

To have an overview of the seqinR's functionnality, please consult this vignette: Charif, D., Lobry, J.R. (2005) SeqinR: a contributed package to the R project for statistical computing devoted to biological sequences retrieval and analysis. Springer Verlag, Biological and Medical Physics/Biomedical Series, in preparation.

Examples

Run this code
s=s2c("agtctggggggccccttttaagtagatagatagctagtcgta")
   GC3(s)

Run the code above in your browser using DataCamp Workspace