setData-protdata-method: Change the data slot of a protdata object

setData,protdata-methodR Documentation

Change the data slot of a protdata object

Description

setData changes the data slot from a protdata object to a prespecified list of data frames.

Usage

## S4 method for signature 'protdata'
setData(object, data)

Arguments

object

A protdata object of which the data slot needs to be modified.

data

A list of data frames which will be inserted in the data slot of the protdata object. Note that the length of this list should be equal to the number of elements in the accession slot and the number of rows in the annotation slot.

Value

A protdata object of which the data slot is replaced by the list of data frames data.


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