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 Nov. 14, 2024, 5:39 p.m.