createExperimentContainer: createExperimentContainer- Creates a new experiment container...

Description Usage Arguments Details Value Author(s) Examples

View source: R/createExperimentContainer.R

Description

createExperimentContainerCreates a new experiment container by adding an existing container to an experiment.

Usage

1
2
createExperimentContainer(coreApi, experimentType, experimentBarcode,
  containerBarcode, body = NULL, fullMetadata = FALSE, ...)

Arguments

coreApi

coreApi object with valid jsessionid

experimentType

experiment type to get as character string

experimentBarcode

experiment barcode of an unpublished experiment

containerBarcode

barcode of container to add to experiment

body

values for sample attributes as a list of key-values pairs (not user in this json version)

fullMetadata

get full metadata, default is FALSE

...

additional arguments passed to apiPOST

Details

createExperimentContainer Creates a new experiment container by adding an existing container to an experiment.

Value

List of length 2, containing entity and response objects:

Author(s)

Craig Parman info@ngsanalytics.com

Natasha Mora natasha.mora@thermofisher.com

Scott Russell scott.russell@thermofisher.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
item <- createExperimentContainer(
  login$coreApi, "Experiment_Type",
  "ExperimentBarCode", "Containerbarcode"
)
logOut(login$coreApi)

## End(Not run)

AmundsenJunior/pfsrsdk documentation built on July 18, 2019, 8:10 p.m.