substitution_mtx {BALCONY}R Documentation

Read a substitution matrix

Description

This function facilitates reading of substitution matrices for further use

Usage

substitution_mtx(matrix_name)

Arguments

matrix_name

A string with path to the substitution matrix in a text file to be read

Value

names

A vector of characters with amino acid names included in the matrix

matrix

A numeric matrix with values

Author(s)

Michal Stolarczyk & Alicja Pluciennik

Examples

path = system.file("extdata", "GONNET.txt", package = "BALCONY")
sub_mat = substitution_mtx(path)

[Package BALCONY version 0.2.10 Index]