Skip to content
Prev 164971 / 398506 Next

Construct All Possible Strings from 4 Bases (ATCG)

Gundala

f <-  function(n){expand.grid(rep(list(seq_len(4)),n))}


HTH

Robin
Gundala Viswanath wrote: