R: Assay transform script helper function to read a run...

labkey.transform.readRunPropertiesFile {Rlabkey} | R Documentation

## Assay transform script helper function to read a run properties file

### Description

A function that takes in the full path to the LabKey generated run properties file and returns a data.frame of the key value pairs for the lines within that file. This helper function would be used as part of an assay transform script written in R and associated with an assay design.

### Usage

    labkey.transform.readRunPropertiesFile(runInfoPath)

### Arguments

`runInfoPath` | the full file system path to the generated run properties file

### Details

The most common scenario is that the assay transform script will get the run properties file path added into the running script as a replacement variable. To use that replacement variable for this helper function, you can pass in the runInfoPath parameter as "$runInfo".

### Examples

    # library(Rlabkey)

    labkey.transform.readRunPropertiesFile("${runInfo}")

[Package Rlabkey version 2.3.0 Index]