# NOT RUN {
data("dna.obj")
## Coercing a 'Dna' object to a matrix.
x<-dna.obj[1:4,1:6,as.matrix=FALSE]
x
as.matrix(x)
# }
# NOT RUN {
# gives the same result
dna.obj[1:4,1:6,as.matrix=TRUE]
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab