Attrib: Calculate Peptide Length and Charge Attributes

Description Usage Arguments Value Note Author(s) Examples

Description

Calculates the length and charge of peptides in the first column of a given dataset. A sub-function of vFormat

Usage

1
Attrib(x)

Arguments

x

An R object, generally a data.frame, containing peptides in the first column

Value

Returns a data.frame of 3 columns, starting with Peptide, the peptide's length, followed by charge.

Note

Uses the R Package: stringr created by Hadley Wickham

Author(s)

Cody Moore

Examples

1
2
3
4
5
protEx <- data.frame(Peptides = c("PWRGPWARVGSG","GYNRVGQGSG","PNGYRSGVKGSG"),
C_6uM = c(65011.48,47462.24,24778), C_3uM = c(62637.81,31899.85,21313.67),
C_1.5uM = c(57893.22,25911.35,10397.99))

attribEx <- Attrib(protEx)

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

Related to Attrib in VDAP...