setExperimentSamplesAssayFileData-deprecated: setExperimentSamplesAssayFileData - puts file attached as...

Description Arguments Details Value Author(s) See Also Examples

Description

setExperimentSamplesAssayFileData Puts file attached as assay data in an experiment

Arguments

coreApi

coreApi object with valid jsessionid

assayType

assay type that contains sample

experimentSampleBarcode

experiment sample barcode of entity to get

attributeName

Name of the attribute that containts the file data

filePath

path to file to upload

useVerbose

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

Details

setExperimentSamplesAssayFileData puts file attached as assay data.

Value

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

Author(s)

Craig Parman ngsAnalytics, ngsanalytics.com

See Also

pfsrsdk-deprecated

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
response <- setExperimentSamplesAssayFileData(
  login$coreApi,
  "assayType",
  "barcode",
  "filePath",
  "CI_FILE"
)
logOut(login$coreApi)

## End(Not run)

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