Description Usage Arguments Details Value Author(s) Examples
View source: R/updateExperimentSampleData.R
updateExperimentSampleData
Update experiment sample assay data.
1 2 | updateExperimentSampleData(coreApi, experimentAssayType,
experimentSampleBarcode, experimentAssayUpdateAttrList, ...)
|
coreApi |
coreApi object with valid jsessionid |
experimentAssayType |
entity type to get as character string |
experimentSampleBarcode |
User provided barcode as a character string |
experimentAssayUpdateAttrList |
assay attributes as a list of key-values pairs |
... |
additional arguments passed to |
updateExperimentSampleData
Update experiment sample assay data.
List of length 2, containing entity
and response
objects:
entity
is the HTTP response content of updated sample data.
response
is the entire HTTP response.
Craig Parman info@ngsanalytics.com
Natasha Mora natasha.mora@thermofisher.com
Scott Russell scott.russell@thermofisher.com
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
response <- updateExperimentSampleData(login$coreApi,
experimentAssayType = "BITTERNESS_ASSAY",
experimentSampleBarcode = "BTES3", experimentAssayUpdateAttrList = list(CI_BITTERNESS_IBU = 9.7, CI_ACCEPT = FALSE)
)
updatedEntity <- response$entity
logOut(login$coreApi)
response <- authBasic(coreApi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.