countSeqDiffs {evolved} | R Documentation |
Counting protein sequence differences
Description
countSeqDiffs
counts the number of protein differences among two sequences of proteins within the same "ProteinSeq" object.
Usage
countSeqDiffs(x, taxon1, taxon2)
Arguments
x |
A "ProteinSeq" object containing proteins from |
taxon1 |
A character giving the common name of the first species that
will be compared. Must be a name present in |
taxon2 |
A character giving the common name of the second species that
will be compared. Must be a name present in |
Value
A integer giving the number of protein differences between
taxon1
and taxon2
.
Author(s)
Matheus Januario, Dan Rabosky, Jennifer Auler
Examples
countSeqDiffs(cytOxidase, "human", "chimpanzee")
countSeqDiffs(cytOxidase, "human", "cnidaria")
countSeqDiffs(cytOxidase, "chimpanzee", "cnidaria")
[Package evolved version 1.0.0 Index]