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

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

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

Arguments

coreApi

coreApi object with valid jsessionid

experimentType

experiment type to get as character string

experimentBarcode

experiment barcode

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)

useVerbose

Use verbose communication for debugging

Details

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

Value

RETURN returns a list $entity contains entity information, $response contains the entire http response

Author(s)

Craig Parman ngsAnalytics, ngsanalytics.com

Examples

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

## End(Not run)

ceparman/Core5.3 documentation built on May 7, 2019, 8:16 a.m.