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

Description Usage Arguments Details Value Author(s) Examples

View source: R/createExperiment.R

Description

createExperiment Creates a new experiment.

Usage

1
2
3
createExperiment(coreApi, experimentType, assayType, assayBarcode,
  protocolType, protocolBarcode, body = NULL, fullMetadata = 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

fullMetadata

get full metadata, default is FALSE

...

additional arguments passed to apiPOST

Details

createExperiment Creates a new instance of an entity.

Value

List of length 2, containing entity and response objects:

Author(s)

Craig Parman info@ngsanalytics.com

Natasha Mora natasha.mora@thermofisher.com

Scott Russell scott.russell@thermofisher.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
experiment <- createExperiment(
  login$coreApi,
  "Experiment_Type",
  "Assaybarcode",
  "Protocolbarcode"
)
logOut(login$coreApi)

## End(Not run)

AmundsenJunior/pfsrsdk documentation built on July 18, 2019, 8:10 p.m.