mw_base: Get slot value from mw_base objects

View source: R/class_def.R

$,mw_base-methodR Documentation

Get slot value from mw_base objects

Description

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

Usage

## 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

# an object derived from mw_base object
C = context$study
# access the name slot
C$name

computational-metabolomics/metabolomicsWorkbenchR documentation built on July 5, 2024, 10:12 a.m.