Description Usage Arguments Details Value Author(s) Examples
createExperimentSample
Creates a new experiment sample fomr a sample lot.
1 2 | createExperimentSample(coreApi, experimentType, experimentBarcode,
sampleLotBarcode, body = NULL, useVerbose = FALSE)
|
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 |
createExperimentSample
Creates a new instance of an entity.
RETURN returns a list $entity contains entity information, $response contains the entire http response
Craig Parman ngsAnalytics, ngsanalytics.com
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.