Skip to contents

Get and set methods for the GroverInput S4 class.

Usage

instrument(x)

# S4 method for GroverInput
instrument(x)

instrument(x) <- value

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

directory(x)

# S4 method for GroverInput
directory(x)

directory(x) <- value

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

host(x)

# S4 method for GroverInput
host(x)

host(x) <- value

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

port(x)

# S4 method for GroverInput
port(x)

port(x) <- value

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

auth(x)

# S4 method for GroverInput
auth(x)

auth(x) <- value

# S4 method for 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)
#> [1] "An_instrument"

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

## Return input directory
directory(workflow_input)
#> [1] "Experiment_directory"

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

## Return input host
host(workflow_input)
#> [1] "a.grover.host"

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

## Return the input port
port(workflow_input)
#> [1] 80

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

## Return the input auth
auth(workflow_input)
#> [1] "1234"

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