Learn R Programming

BALCONY (version 0.2.10)

substitution_mtx: 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

Examples

Run this code
# NOT RUN {
path = system.file("extdata", "GONNET.txt", package = "BALCONY")
sub_mat = substitution_mtx(path)
# }

Run the code above in your browser using DataLab