Learn R Programming

phangorn (version 2.12.1)

image.phyDat: Plot of a Sequence Alignment

Description

This function plots an image of an alignment of sequences.

Usage

# S3 method for phyDat
image(x, ...)

Value

Nothing. The function is called for plotting.

Arguments

x

an object containing sequences, an object of class phyDat.

...

further arguments passed to or from other methods.

Details

A wrapper for using image.DNAbin and image.AAbin. Codons triplets are handled as nucleotide sequences.

See Also

image.DNAbin, image.AAbin

Examples

Run this code
data("chloroplast")
image(chloroplast[, 1:50], scheme="Clustal", show.aa = TRUE)

Run the code above in your browser using DataLab