labguru_add_experiment_procedure: Labguru add experiment procedure

View source: R/experiment_procedures.R

labguru_add_experiment_procedureR Documentation

Labguru add experiment procedure

Description

Add a new experiment procedure to labguru

Usage

labguru_add_experiment_procedure(
  name,
  experiment_id,
  return = "id",
  server = Sys.getenv("LABGURU_SERVER"),
  token = Sys.getenv("LABGURU_TOKEN")
)

Arguments

name

character(1) The name of the experiment procedure

experiment_id

numeric(1) The experiment id for which to add a new procedure

return

character(1) whether the function returns either 'id' (default) or 'all' experiment procedure information

server

character(1) indicating the server URL

token

character(1) access token for API authentication

Value

list with either experiment procedure id only or all experiment procedure information

Examples

## Not run: 
labguru_add_experiment_procedure(name          = "My new experiment procedure",
                                 experiment_id = 1,
                                 return        = "id")

## End(Not run)

BioData/LabguruR documentation built on May 11, 2022, 11:46 p.m.