getExperimentSamplesAssayFileData: getExperimentSamplesAssayFileData - Gets file attached as...

Description Usage Arguments Details Value Author(s) Examples

Description

getExperimentSamplesAssayFileData Gets file attached as assay data. Use getExperimentSamplesAssayData for non-file data.

Usage

1
2
getExperimentSamplesAssayFileData(coreApi, assayType,
  experimentSampleBarcode, attributeName, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

assayType

assay type to get

experimentSampleBarcode

experiment sample barcode of entity to get

attributeName

Name of the attibute that containts the file data

useVerbose

TRUE or FALSE to indicate if verbose options should be used in http

Details

getExperimentSamplesAssayFileData Gets file attached as assay data.

Value

returns a list $entity containsbinary object that in the file, $response contains the entire http response

Author(s)

Craig Parman info@ngsanalytics.com

Examples

1
2
3
4
5
6
7
8
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
response <- getExperimentSamplesAssayFileData(login$coreApi, "assayType", "experimentSampleBarcode", "CI_FILE")
writeBin(response$entity, "myfile.png")
logOut(login$coreApi)

## End(Not run)

ajwtech/pfsrsdk documentation built on June 14, 2019, 10:34 a.m.