gccount2 | R Documentation |
Returns the number of 'A', 'C', 'G' and 'T' bases in the 'inseq' sequence string.
gccount2(inseq)
inseq |
a DNA sequence string. |
This function calls a C primitive
A numeric of length 4
Robert Stojnic rs550@cam.ac.uk
s <- "AAAACCCGGT"
cnt <- gccount2(s)
cnt
stopifnot(cnt==table(strsplit(s,"")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.