setAnnotations-protLM-method: Change the annotation slot of a protLM object

setAnnotations,protLM-methodR Documentation

Change the annotation slot of a protLM object

Description

setAnnotations changes the annotation slot from a protLM object to a prespecified matrix.

Usage

## S4 method for signature 'protLM'
setAnnotations(object, annotations)

Arguments

object

A protLM object of which the annotation slot needs to be modified.

annotations

A matrix which will be inserted in the annotation slot of the protLM object. Note that the number of rows of this matrix should be equal to the number of elements in both the accession and the model slot.

Value

A protLM object of which the annotation slot is replaced by the matrix annotations.


ludgergoeminne/MSqRob documentation built on Jan. 11, 2023, 1:32 p.m.