GroverInput-accessors: 'GroverInput' get and set methods

instrumentR Documentation

GroverInput get and set methods

Description

Get and set methods for the GroverInput S4 class.

Usage

instrument(x)

## S4 method for signature 'GroverInput'
instrument(x)

instrument(x) <- value

## S4 replacement method for signature 'GroverInput'
instrument(x) <- value

directory(x)

## S4 method for signature 'GroverInput'
directory(x)

directory(x) <- value

## S4 replacement method for signature 'GroverInput'
directory(x) <- value

host(x)

## S4 method for signature 'GroverInput'
host(x)

host(x) <- value

## S4 replacement method for signature 'GroverInput'
host(x) <- value

port(x)

## S4 method for signature 'GroverInput'
port(x)

port(x) <- value

## S4 replacement method for signature 'GroverInput'
port(x) <- value

auth(x)

## S4 method for signature 'GroverInput'
auth(x)

auth(x) <- value

## S4 replacement method for signature 'GroverInput'
auth(x) <- value

Arguments

x

S4 object of class GroverInput

value

value to set

Examples

workflow_input <- inputGrover(instrument = 'An_instrument',
                              directory = 'Experiment_directory',
                              host = 'a.grover.host',
                              port = 80,
                              auth = '1234')

## Return input instrument
instrument(workflow_input)

## Set the input instrument
instrument(workflow_input) <- 'A_different_instrument'

## Return input directory
directory(workflow_input)

## Set the input directory
directory(workflow_input) <- 'Another_experiment'

## Return input host
host(workflow_input)

## Set the input host
host(workflow_input) <- 'a.new.host'

## Return the input port
port(workflow_input)

## Set the input port
port(workflow_input) <- 81

## Return the input auth
auth(workflow_input)

## Set the input auth
auth(workflow_input) <- 'abcd'

jasenfinch/metaboWorkflows documentation built on May 24, 2023, 8:23 a.m.