Description Usage Arguments Value Author(s) Examples
View source: R/getExperimentSamplesWithSampleLots.R
getExperimentSamplesWithSampleLots - Gets sample lots assigned to experiment samples of an experiment.
| 1 2 | getExperimentSamplesWithSampleLots(coreApi, experimentType,
  experimentBarcode, fullMetadata = FALSE, ...)
 | 
| experimentType | entity type which has the attribute metadata | 
| experimentBarcode | barcode of entity to get | 
| fullMetadata | get full metadata, default is FALSE | 
| ... | additional arguments passed to  | 
| coreAPI | coreApi object with valid jsessionid | 
List of length 2, containing entity and response objects:
entity list with sample lot names for the corresponding experiment sample barcode from a specific experiment.
response is the entire HTTP response.
Natasha Mora natasha.mora@thermofisher.com
Edgardo Gutierrez edgardo.gutierrez@thermofisher.com
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
experimentSampleLotNames <- getExperimentSamplesWithSampleLots(login$coreApi, "experimentType", "EXP123")
logOut(login$coreApi)
## End(Not run)
Specific data can be extracted, one example is to extract the sample lot names:
## Not run: 
sampleLotName <- sapply(
    response$content[[expansion]],
    FUN = function(x) {
        x$ENTITY$Name})
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.