setExperimentSampleAssayFileData: setExperimentSampleAssayFileData - Puts file attached as...

Description Usage Arguments Details Value Author(s) Examples

View source: R/setExperimentSampleAssayFileData.R

Description

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

Usage

1
2
setExperimentSampleAssayFileData(coreApi, assayType,
  experimentSampleBarcode, attributeName, filePath, ...)

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

...

additional arguments passed to apiPUT

Details

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

Value

List of length 2, containing content and response objects:

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)

AmundsenJunior/pfsrsdk documentation built on July 18, 2019, 8:10 p.m.