pep_score: Score a peptide against a PSSM using sum of positional...

Description Usage Arguments Value Examples

Description

Score a peptide against a PSSM using sum of positional scores.

Usage

1
pep_score(pep, PSSM)

Arguments

pep

A vector of equal length peptides to be scored

PSSM

A Position Specific Scoring Matrix, where the number of rows must be equal to the length of the input peptides.

Value

A vector of scores, one for each input peptides. Scores are sorted according to input peptides.

Examples

1
2
3
PSSM = pssm_empty(npos = 9)
PSSM[1:9,1:20] = rnorm(180)
pep_score(c("RQGQDHPTM","RGQKTTDNA","NILYEYWDY"),PSSM)

leonjessen/PepTools documentation built on May 29, 2019, 3:40 a.m.