calculateTrypticity: Calculates level of trypticity for a list of LiP Peptides.

View source: R/calculateTrypticity.R

calculateTrypticityR Documentation

Calculates level of trypticity for a list of LiP Peptides.

Description

Takes as as input LiP data and a fasta file. These can be the outputs of MSstatsLiP functions.

Usage

calculateTrypticity(LiP_data, fasta_file)

Arguments

LiP_data

name of variable containing LiP data. Must contain at least two columns named 'PeptideSequence' and 'ProteinName'. The values in these column must match with what is in the corresponding FASTA file.

fasta_file

name of variable containing FASTA data. If FASTA file has not been processed please run the tidyFasta() function on it before inputting into this function.

Value

a data.frame including protein, peptide, and trypticity metrics.

Examples

fasta <- tidyFasta(system.file("extdata", "ExampleFastaFile.fasta", package="MSstatsLiP"))
calculateTrypticity(MSstatsLiP_data$LiP, fasta)

Vitek-Lab/MSstatsLiP documentation built on April 5, 2024, 3:25 a.m.