Learn R Programming

Rphylip (version 0.1-23)

as.proseq: Converts objects to protein sequences, phylip.data, or rest.data object

Description

Converts objects to class "proseq", "phylip.data", or "rest.data".

Usage

as.proseq(x, ...) as.phylip.data(x, ...) as.rest.data(x, ...)

Arguments

x
an object containing amino sequences, a set of binary characters, an arbitrary user-defined multistate character, or presences ("+") and absences ("-") of restriction sites. as.proseq and as.phylip.data also converts objects of class "phyDat" from the phangorn package.
...
optional arguments.

Value

An object of class "proseq" containing protein sequences; an object of class "phylip.data"; or an object of class "rest.data".

See Also

print.proseq, Rproml