get_peptide_protein_matrix: Calculate the matrix of peptide-protein inclusions.

Description Usage Arguments Value Examples

View source: R/peptide_protein_matrix.R

Description

The i,j element of the matrix is 1 if i-th peptide is part of j-th protein.

Usage

1
get_peptide_protein_matrix(peptides, proteins)

Arguments

peptides

Character vector of peptides.

proteins

A list of proteins.

Value

matrix

Examples

1
get_peptide_protein_matrix(c("CARAQ", "ARC"), list(x = "ARCAQP", y = "CARAQPP"))

mstaniak/proteomics_examples documentation built on Aug. 27, 2019, 9:56 a.m.