substitution_mtx: Read a substitution matrix

Description Usage Arguments Value Examples

Description

This function facilitates reading of substitution matrices for further use

Usage

1
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

Examples

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

michalstolarczyk/BALCONY documentation built on May 7, 2019, 6:08 a.m.