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

Description Usage Arguments Details Value Author(s) Examples

Description

createExperimentSample Creates a new experiment sample from a sample lot.

Usage

1
2
3
createExperimentSample(coreApi, experimentType, experimentBarcode,
  sampleLotBarcode, body = NULL, fullMetadata = FALSE,
  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

fullMetadata

get full metadata, default is FALSE

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 info@ngsanalytics.com

Natasha Mora natasha.mora@thermofisher.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
item <- createExperimentSample(login$coreApi,
  experimentType,
  experimentBarcode,
  sampleLotBarcode,
  body = NULL,
  useVerbose = FALSE
)
logOut(login$coreApi)

## End(Not run)

ajwtech/pfsrsdk documentation built on June 14, 2019, 10:34 a.m.