ns.cg.content: CG-content

Description Usage Arguments Details Value Author(s) Examples

Description

Calculate CG content of a sequence

Usage

1

Arguments

s

a vector of sequences in standard IUB/IUPAC nucleic acid codes

Details

Codes which represent non determined nucleotides will be countet as if the probability for each nucleotide is equal. For example D (G, A or T) will be counted as 0.33333.

Value

A vector of reals giving the cg-content of all entered sequences

Author(s)

Wim de Leeuw

Examples

1
  ns.cg.content(c("ATATATATA","CCCCGGGCGCG","CGCGGGGCATTATATCTACTACTAGTATCT"));

UvA-MAD/SeqLibR documentation built on May 9, 2019, 9:40 p.m.