BuildAdjacencyMatrix: Function matrix of appartenance group

Description Usage Arguments Value Author(s) Examples

View source: R/agregation.R

Description

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

Usage

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

Arguments

obj.pep

An object (peptides) of class MSnSet.

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

Author(s)

Florence Combes, Samuel Wieczorek, Alexia Dorffer

Examples

1
2
utils::data(Exp1_R25_pept, package='DAPARdata')
BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], "Protein_group_IDs", TRUE)

DAPAR documentation built on April 11, 2021, 6 p.m.