# Permute all the ways eight can be assigned to four bins (A, C, G, T),
# with each bin assigned at least one:
permute_restricted_compositions(
n = 8,
m_labels = c("A", "C", "G", "T"),
allow_zero = FALSE
)
Run the code above in your browser using DataLab