setExperimentSampleAssayFileData: setExperimentSampleAssayFileData - Puts file attached as...

Description Usage Arguments Details Value Author(s) Examples

Description

setExperimentSampleAssayFileData Puts file attached as assay data into an experiment sample.

Usage

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

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

setExperimentSampleAssayFileData Puts file attached as assay data into an experiment sample.

Value

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

Author(s)

Craig Parman info@ngsanalytics.com

Scott Russell scott.russell@thermofisher.com

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 <- setExperimentSampleAssayFileData(
  login$coreApi,
  "TURBIDITY ASSAY",
  "TBES1",
  "CI_EXTRA_DATA",
  "/path/to/data.file"
)
logOut(login$coreApi)

## End(Not run)

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