générer toutes les combinaisons possibles d'un ensemble de caractères R
x <- c("T", "A", "C", "G")
do.call(expand.grid, rep(list(x), 3))
Crazy Llama
x <- c("T", "A", "C", "G")
do.call(expand.grid, rep(list(x), 3))