# NOT RUN {
# create a QMatrix object
m<-QMatrix()
# set the alphabet
setAlphabet(m,NucleotideAlphabet())
# get the alphabet
getAlphabet(m)
# set alphabet via virtual field
m$alphabet<-BinaryAlphabet()
summary(m)
# }
Run the code above in your browser using DataLab