Learn R Programming

Rlabkey (version 2.8.0)

labkey.transform.readRunPropertiesFile: 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

Run this code
# NOT RUN {
# library(Rlabkey)

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

# }

Run the code above in your browser using DataLab