Learn R Programming

aaSEA (version 1.1.0)

matEncode: Function to encode Correlated columns of alignment matrix with desired properties

Description

Function to encode Correlated columns of alignment matrix with desired properties

Usage

matEncode(aliMat, pIndex, propDf)

Arguments

aliMat

amino acid multiple sequence alignment in the form of a matrix

pIndex

Amino acid property index to be encoded. It is the row number in the property data frame

propDf

The amino acid property to analyse. It is row number in propertyDF data frame

Value

A matrix of input dimensions with amino acid alphabets replaced by amino acid properties of choice

Examples

Run this code
# NOT RUN {
aliMatLoc <- system.file("extdata", "aliMat.rda", package = "aaSEA")
aliMat <- readRDS(aliMatLoc)
matEncode(aliMat = aliMat, pIndex = 1, propDf = "Cruciani" )
# }

Run the code above in your browser using DataLab