createExperiment: createExperiment - Create a new instance of an experiment.

Description Usage Arguments Details Value Author(s) Examples

Description

createExperiment Creates a new experiment.

Usage

1
2
createExperiment(coreApi, experimentType, assayType, assayBarcode, protocolType,
  protocolBarcode, body = NULL, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

experimentType

experiment type to get as character string

assayType

assay type

assayBarcode

assay barcode

protocolType

protocol type

protocolBarcode

protocol barcode

body

values for experiment attributes and associations as a list of key-values pairs

useVerbose

Use verbose communication for debugging

Details

createExperiment 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
## Not run: 
api<-CoreAPIV2::coreApi("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
experiment<-CoreAPIV2::createExperiment(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.