R/randDNA.R

Defines functions randDNA

Documented in randDNA

randDNA = function(n)
   paste(sample(c("A","C","T","G"), n, replace=TRUE), collapse="")

Try the RBioinf package in your browser

Any scripts or data that you put into this service are public.

RBioinf documentation built on Nov. 8, 2020, 11:11 p.m.