setExperimentSamplesAssayFileData: setExperimentSamplesAssayFileData - puts file attached as...

Description Usage Arguments Details Value Author(s) Examples

Description

setExperimentSamplesAssayFileData Puts file attached as assay data in an experiment

Usage

1
2
setExperimentSamplesAssayFileData(coreApi, assayType, experimentSamplebarcode,
  attributeName, filepath, useVerbose = FALSE)

Arguments

coreApi

coreApi object with valid jsessionid

assayType

assay type to get

experimentSamplebarcode

experiment sample barcode of entity to get

useVerbose

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

attrributeName

Name of the attibute that containts the file data

filePath

path to file to upload

Details

setExperimentSamplesAssayFileData puts 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 ngsAnalytics, ngsanalytics.com

Examples

1
2
3
4
5
6
7
## Not run: 
api<-CoreAPIV2::CoreAPI("PATH TO JSON FILE")
login<- CoreAPIV2::authBasic(api)
response<-  setExperimentSamplesAssayFileData(login$coreApi,"assayType","barcode","filepath","CI_FILE")
CoreAPIV2:logOut(login$coreApi)

## End(Not run)

ceparman/Core5.3 documentation built on May 7, 2019, 8:16 a.m.