Learn R Programming

apex (version 1.0.6)

plot,multidna-method: Display multidna objects

Description

Default printing for multidna objects

Usage

# S4 method for multidna
plot(x, y, rows = TRUE, ask = FALSE, ...)

Arguments

x

a multidna object

y

an integer vector indicating the genes to plot

rows

a logical indicating if different genes should be displayed in separate rows

ask

a logical indicating if the user should be prompted between graphs

...

arguments passed to image.DNAbin

Author

Thibaut Jombart t.jombart@imperial.ac.uk

Examples

Run this code
## 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