substitution_mtx: Read a substitution matrix

Description Usage Arguments Value Author(s) 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

Author(s)

Michal Stolarczyk & Alicja Pluciennik

Examples

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

BALCONY documentation built on May 1, 2019, 10:31 p.m.