[R] how to count "A", "C", "T", "G" in each row in a big data.frame?

Suzen, Mehmet msuzen at gmail.com
Thu Jan 10 09:50:10 CET 2013


On 10 January 2013 01:04, Yao He <yao.h.1988 at gmail.com> wrote:
> In fact I want to calculate the gene frequency of each SNP.

Why don't you use bioconductor for your analysis instead of trying to
develop by your own? For example:

http://www.bioconductor.org/help/course-materials/2008/MGED08/BiostringsMGED2008.pdf

For example alphabetFrequency function in the ShortRead package. I am
sure you can handle I/O
somehow to interface with available tools in bioconductor.




More information about the R-help mailing list