Learn R Programming

DAPAR (version 1.4.7)

BuildAdjacencyMatrix: Function matrix of appartenance group

Description

Method to create a binary matrix with proteins in columns and peptides in lines on a MSnSet object (peptides)

Usage

BuildAdjacencyMatrix(obj.pep, protID, unique = TRUE)

Arguments

obj.pep
An object (peptides) of class MSnbase.
protID
The name of proteins ID column
unique
A boolean to indicate whether only the unique peptides must be considered (TRUE) or if the shared peptides have to be integrated (FALSE).

Value

A binary matrix

Examples

Run this code
data(UPSpep25) 
BuildAdjacencyMatrix(UPSpep25, "Protein.group.IDs")

Run the code above in your browser using DataLab