3 \title{Alignment Explorer With Multiple Devices}
5 This function helps to explore DNA alignments by zooming in. The user
6 clicks twice defining the opposite corners of the portion which is
7 extracted and drawned on a new window.
13 \item{x}{an object of class \code{"DNAbin"}.}
14 \item{\dots}{further arguments to pass to \code{image.DNAbin}.}
17 This function works with a DNA alignment (freshly) plotted on an
18 interactive graphical device (i.e., not a file) with \code{image}.
19 After calling \code{alex}, the user clicks twice defining a rectangle
20 in the alignment, then this portion of the alignment is extacted and
21 plotted on a \emph{new} window. The user can click as many times on
22 the alignment. The process is stopped by a right-click. If the user
23 clicks twice outside the alignment, a message ``Try again!'' is
26 Each time \code{alex} is called, the alignment is plotted on a new
27 window without closing or deleting those possibly already plotted.
29 In all cases, the device where \code{x} is plotted is the active
30 window after the operation. It should \emph{not} be closed during the
34 \author{Emmanuel Paradis}
36 \code{\link{image.DNAbin}}, \code{\link{trex}}