mw_base: Get slot value from mw_base objects

Description Usage Arguments Value Examples

View source: R/class_def.R

Description

Gets the value of a slot from mw_base objects, provided they are not listed as 'private'.

Usage

1
2
## S4 method for signature 'mw_base'
x$name

Arguments

x

An object derived from mw_base.

name

The name of the slot to access.

Value

The assigned to the slot.

Examples

1
2
3
4
# an object derived from mw_base object
C = context$study
# access the name slot
C$name

metabolomicsWorkbenchR documentation built on Nov. 8, 2020, 6:58 p.m.