image.phyDat: Plot of a Sequence Alignment

View source: R/image_phyDat.R

image.phyDatR Documentation

Plot of a Sequence Alignment

Description

This function plots an image of an alignment of sequences.

Usage

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

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.

Value

Nothing. The function is called for plotting.

See Also

image.DNAbin, image.AAbin

Examples

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

KlausVigo/phangorn documentation built on Nov. 5, 2024, 11 a.m.