"print"(x, ...)
"["(x, i, j, drop = FALSE)
"as.character"(x, ...)
"labels"(object, ...)
"image"(x, what, col, bg = "white", xlab = "", ylab = "", show.labels = TRUE, cex.lab = 1, legend = TRUE, ...)
as.AAbin(x, ...)
"as.AAbin"(x, ...)
"as.phyDat"(x, ...)
dist.aa(x, pairwise.deletion = FALSE, scaled = FALSE)
AAsubst(x)"AAbin".TRUE, the returned object is of the
lowest possible dimension.what (typically
X and *).TRUE by default).cex.axis to control the size of the annotations on
the x-axis.TRUE by default)."AAbin", "character", "phyDat",
"dist", or "numeric", depending on the function.
"AAbin". These objects are stored in vectors, matrices, or lists
which can be manipulated with the usual [ operator.There are conversion functions to and from characters, and to
"phyDat".
The function dist.aa computes the number of AA differences
between each pair of sequences in a matrix; this can be scaled by the
sequence length. See the function dist.ml in
phangorn for evolutionary distances with AA sequences.
The function AAsubst returns the indices of the polymorphic sites
(similar to seg.sites for DNA sequences; see examples below).
trans, alview
data(woodmouse)
AA <- trans(woodmouse, 2)
seg.sites(woodmouse)
AAsubst(AA)
Run the code above in your browser using DataLab