GC: Calculate G and C content of nucleotide sequences
Description
Calculate G and C content of nucleotide sequences.The number of G and C in sequence is divided by length of sequence(when totalnt is TRUE) or the number of all A,T,C,G and ambiguous base.
Usage
GC(ntseq, ambiguous = FALSE, totalnt = FALSE)
Arguments
ntseq
The primer/probe sequence as string or vector of characters
ambiguous
Ambiguous bases are taken into account to compute the G and C content when ambiguous is TRUE.
totalnt
Sum of 'G' and 'C' bases divided by the length of the sequence when totalnt is TRUE