Attrib {VDAP}R Documentation

Calculate Peptide Length and Charge Attributes

Description

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

Usage

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


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)


[Package VDAP version 2.0.0 Index]