createExperimentSample: createExperimentSample - Create a new experiment sample from...

Description Usage Arguments Details Value Author(s) Examples

Description

createExperimentSample Creates a new experiment sample fomr a sample lot.

Usage

1
2
createExperimentSample(coreApi, experimentType, experimentBarcode,
  sampleLotBarcode, body = NULL, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

experimentType

experiment type to get as character string

experimentBarcode

experiment barcode

sampleLotBarcode

barcode of sample to add to experiment

body

values for sample attributes as a list of key-values pairs

useVerbose

Use verbose communication for debugging

Details

createExperimentSample Creates a new instance of an entity.

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::createExperimentSample(login$coreApi,"Experiment_Type",
       "Assaybarcode","ProtocolBarcode")
CoreAPIV2::logOut(login$coreApi )

## End(Not run)

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