Last chance! 50% off unlimited learning
Sale ends in
Default printing for multidna objects
# S4 method for multidna
plot(x, y, rows = TRUE, ask = FALSE, ...)
a multidna object
an integer vector indicating the genes to plot
a logical indicating if different genes should be displayed in separate rows
a logical indicating if the user should be prompted between graphs
arguments passed to image.DNAbin
Thibaut Jombart t.jombart@imperial.ac.uk
## simple conversion with nicely ordered output
data(woodmouse)
genes <- list(gene1=woodmouse[,1:500], gene2=woodmouse[,501:965])
x <- new("multidna", genes)
x
plot(x)
Run the code above in your browser using DataLab