R/updateExperimentSampleData.R
updateExperimentSampleData.RdupdateExperimentSampleData Update experiment sample data.
updateExperimentSampleData(coreApi, entityType, experimentSamplebarcode, assayAttributeValues, useVerbose = FALSE)
| coreApi | coreApi object with valid jsessionid |
|---|---|
| entityType | entity type to get as character string |
| experimentSamplebarcode | User provided barcode as a character string |
| assayAttributeValues | assay attributes as a list of key-values pairs |
| useVerbose | Use verbose communication for debugging |
RETURN returns a list $entity contains entity information, $response contains the entire http response
updateExperimentSampleData Update experiment sample data.
# NOT RUN {
api<-CoreAPI("PATH TO JSON FILE")
login<- CoreAPI::authBasic(api)
newdata<-CoreAPI::updateExperimentSampleData(login$coreApi,entityType,
experimentSampleBarcode,assayAtributeValues)
logOut(login$coreApi ) response<- CoreAPI::authBasic(coreApi)
# }