R/getExperimentSamples.R
getExperimentSamples.Rd
getExperimentSamples
Gets experiment and experiment samples from experiment identified by barcode.
getExperimentSamples(coreApi, entityType, barcode, useVerbose = FALSE)
coreApi | coreApi object with valid jsessionid |
---|---|
entityType | experiment entity type to get |
barcode | barcode of entity to get |
useVerbose | TRUE or FALSE to indicate if verbose options should be used in http POST |
returns a list $entity contains entity information, $response contains the entire http response
getExperimentSamples
Gets experiment and experiment samples from experiment identified by barcode.
# NOT RUN { api<-CoreAPI("PATH TO JSON FILE") login<- CoreAPI::authBasic(api) experiment<- getExperimentSamples(login$coreApi,"entityType","barcode") logOut(login$coreApi) # }