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

Description Usage Arguments Value

Description

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

Usage

1
2
## 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 Nov. 24, 2018, 6:52 a.m.