Learn R Programming

aaSEA (version 1.1.0)

getPropChange: Get wild type and substituted amino acid properties and associated property changes

Description

Get wild type and substituted amino acid properties and associated property changes

Usage

getPropChange(subFile, propertyDF = "Cruciani", propertyIndex = 1)

Arguments

subFile

A data frame of single or multiple substitutions obtained using 'getAASub' function

propertyDF

Choose one of Cruciani, Fasgai, Kidera or AAindex based amino acid properties

propertyIndex

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

Value

A substitution data frame with three additional columns i.e. wt.Prop, mu.Prop and Delta.Prop

Examples

Run this code
# NOT RUN {
ssFileLoc <- system.file("extdata", "singleSub.rda", package = "aaSEA")
singleSubFile <- readRDS(ssFileLoc)
msFileLoc <- system.file("extdata", "multiSub.rda", package = "aaSEA")
multiSubFile <- readRDS(msFileLoc)
getPropChange(subFile = singleSubFile, propertyDF = "Cruciani", propertyIndex = 1)
getPropChange(subFile = multiSubFile, propertyDF = "Cruciani", propertyIndex = 1)
# }

Run the code above in your browser using DataLab