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.


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