createExperimentSample: createExperimentSample- Creates an experiment sample.

Description Usage Arguments Details Value Author(s) Examples

Description

createExperimentSample Creates an experiment sample.

Usage

1
2
3
4
5
createExperimentSample(coreApi, entityType, sampleLotBarcode,
  experimentBarcode, attributeValues = NULL, locationId = NULL,
  projectIds = NULL, barcode = NULL, associations = NULL,
  concentration = NULL, concentrationUnit = NULL, timeMin = NULL,
  useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

entityType

entity type to get as character string

sampleLotBarcode

parent sample barcode

experimentBarcode

experiment barcode

attributeValues

attributes as a list of key-value pairs

locationId

location ID for initial location as character string

projectIds

project comma separated list of project IDs as character string

barcode

User provided barcode as a character string

associations

association as a list of dataframes (see details)

concentration

sample lot concentration

concentrationUnit

concentration unit

timeMin

min time value

useVerbose

Use verbose communication for debugging

Details

createExperimentSample Creates an experiment sample.

Value

RETURN returns a list $entity contains entity information, $response contains the entire http response

Author(s)

Craig Parman

Examples

1
2
3
4
5
6
7
## Not run: 
api<-CoreAPI("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
item<-createExperimentSample(login$coreApi,
logOut(login$coreApi )

## End(Not run)

ceparman/CoreAPI documentation built on May 13, 2019, 2:59 p.m.