SetMatAdj: Record the adjacency matrices in a slot of the dataset of...

View source: R/utils.R

SetMatAdjR Documentation

Record the adjacency matrices in a slot of the dataset of class MSnSet

Description

Record the adjacency matrices in a slot of the dataset of class MSnSet

Usage

SetMatAdj(obj, X)

Arguments

obj

An object (peptides) of class MSnSet.

X

A list of two adjacency matrices

Value

NA

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DAPARdata")
Xshared <- BuildAdjacencyMatrix(Exp1_R25_pept[seq_len(100)], 
"Protein_group_IDs", FALSE)
Xunique <- BuildAdjacencyMatrix(Exp1_R25_pept[seq_len(100)], 
"Protein_group_IDs", TRUE)
ll.X <- list(matWithSharedPeptides = Xshared, 
matWithUniquePeptides = Xunique)
Exp1_R25_pept <- SetMatAdj(Exp1_R25_pept, ll.X)


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.