aa2selfscore: aa2selfscore

View source: R/aa2selfscore.R

aa2selfscoreR Documentation

aa2selfscore

Description

This function return the selfscore from an AAStringSet.

Usage

aa2selfscore(aa, scorematrix = "BLOSUM62")

Arguments

aa

AAStringSet [mandatory]

scorematrix

score matrix to use [default: BLOSUM62]

Value

data.frame

Author(s)

Kristian K Ullrich

See Also

XStringSet-class, substitution_matrices

Examples

data(woodmouse, package="ape")
#cds2aa(dnabin2dnastring(woodmouse), shorten=TRUE,
#genetic.code=Biostrings::getGeneticCode("2"))
woodmouse |> dnabin2dnastring() |> cds2aa(shorten=TRUE,
genetic.code=Biostrings::getGeneticCode("2")) |> aa2selfscore()

kullrich/MSA2dist documentation built on April 26, 2024, 4:43 p.m.