aaDist: Position Independent Amino Acid Distributions

Description Usage Arguments Details Value Author(s) Examples

Description

Generates Position Independent Amino Acid Ditributions within VDAP data sets

Usage

1
aaDist(x, plotName = NULL, linker = TRUE)

Arguments

x

An R object, usually a data.frame generally created by the function FLoad()

plotName

A plot title may be entered here surrounded by "quotations" or a class(character) object

linker

Logical determining if a 3 residue linker "GSG" is present or not. If linker = TRUE, the "GSG" linker portion of each peptide will be excluded from distribution calculations. Default is FALSE.

Details

Uses both stringr and ggplot2 for peptide calculations and plotting

Value

aaDist will return a data.frame that contains a table with the amino acid distribution over the entire array object. A ggplot2 object will also be displayed with the same information as the histogram.

Author(s)

Cody Moore

Examples

1
2
3
4
5
protEx <- data.frame(Peptides = c("PWRGPWARVGSG","GYNRVGQGSG","PWRGPWARVGSG","GYNRVGQGSG","GSG"))

## Plot example with GSG linker ##

aaDistEx <- aaDist(protEx,"aaDistEx Plot",linker = TRUE)

VDAP documentation built on May 2, 2019, 5:13 a.m.

Related to aaDist in VDAP...