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

utils::data(Exp1_R25_pept, package='DAPARdata')
Xshared <- BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], "Protein_group_IDs", FALSE)
Xunique <- BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], "Protein_group_IDs", TRUE)
ll.X <- list(matWithSharedPeptides = Xshared, matWithUniquePeptides = Xunique)
Exp1_R25_pept <- SetMatAdj(Exp1_R25_pept, ll.X)


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.