Function to count the number of CG dinucleotides in a given sequence (can include special characters for degenerate bases - i.e. 'Y' or 'R')
函数计算在给定的序列中的CG二核苷酸(可以包含特殊字符退化碱基 - 即“Y”或“R”)
用法----------Usage----------
countCGs(sequence)
参数----------Arguments----------
参数:sequence
Nucleotide sequence input as a character string
核苷酸序列输入字符串
值----------Value----------
Returns a numerical count of the number of CG dinucleotides in a given sequence, NA if sequence input is NA
返回数值在一个给定的顺序计数的CG二核苷酸的数量,NA如果是序列输入NA
作者(S)----------Author(s)----------
Reid F. Thompson (<a href="mailto:rthompso@aecom.yu.edu">rthompso@aecom.yu.edu</a>), John M. Greally (<a href="mailto:jgreally@aecom.yu.edu">jgreally@aecom.yu.edu</a>)