R/createExperimentSample.R
createExperimentSample.Rd
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)
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 |
RETURN returns a list $entity contains entity information, $response contains the entire http response
createExperimentSample
Creates an experiment sample.
# NOT RUN { api<-CoreAPI("PATH TO JSON FILE") login<- CoreAPI::authBasic(api) item<-createExperimentSample(login$coreApi, logOut(login$coreApi ) # }