cov_columns: Append columns related to the position of peptide in a...

Description Usage Arguments Value Examples

View source: R/cov_columns.R

Description

Append columns related to the position of peptide in a protein: Start (start position of a peptide in a protein), End (end position of a peptide in a protein), Protlength (length of the full protein), Appearance (if a peptide appears multiple times in a protein).

Usage

1
cov_columns(df, elementid = "Peptide")

Arguments

elementid

Colname of column containing peptide sequences. Will be searched against the sequences extracted from the proteome file.

data_table

Data frame to which the coverage columns will be appended. Must contain a column of peptide sequences and a column of the parental protein of each peptide.

Value

Data frame with the following added columns: "Start", "End", "Sequence", "Appearance".

Examples

1
cov_columns(test_data, seqid='ID',elementid='Peptide')

marcottelab/pepliner documentation built on May 25, 2018, 1:19 p.m.