setAccessions-protLM-method: Change the accession slot of a protLM object

setAccessions,protLM-methodR Documentation

Change the accession slot of a protLM object

Description

setAccessions changes the accession slot from a protLM object to a prespecified factor vector.

Usage

## S4 method for signature 'protLM'
setAccessions(object, accessions)

Arguments

object

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

accessions

A factor or character vector of accessions which will be inserted in the accession slot of the protLM object. Note that the length of this vector should be equal to the number of models in the model slot and the number of rows in the annotation slot.

Value

A protLM object of which the accession slot is replaced by the accessions factor vector.


statOmics/MSqRob documentation built on Dec. 8, 2022, 6 a.m.