matEncode: Function to encode Correlated columns of alignment matrix...

Description Usage Arguments Value Examples

View source: R/matEncode.R

Description

Function to encode Correlated columns of alignment matrix with desired properties

Usage

1
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

1
2
3
aliMatLoc <- system.file("extdata", "aliMat.rda", package = "aaSEA")
aliMat <- readRDS(aliMatLoc)
matEncode(aliMat = aliMat, pIndex = 1, propDf = "Cruciani" )

aaSEA documentation built on Nov. 9, 2019, 5:07 p.m.