createExperimentSample Creates an experiment sample.

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

Value

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

Details

createExperimentSample Creates an experiment sample.

Examples

# NOT RUN {
api<-CoreAPI("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
item<-createExperimentSample(login$coreApi,
logOut(login$coreApi )
# }