SetMatAdj {DAPAR} | R 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)

[Package DAPAR version 1.24.8 Index]