# NOT RUN {
# create a Sequence object of length 6
s<-Sequence(length=10,alphabets=list(NucleotideAlphabet()))
# attach a JC69 substitution process
attachProcess(s,JC69())
# get the list of attached processes
s$processes
# attach the GTR substitution process to range 3:6
attachProcess(s,GTR(),3:6)
# get the list of attached processes
s$processes
# }
Run the code above in your browser using DataLab