Learn R Programming

Rlabkey (version 3.3.0)

labkey.transform.getRunPropertyValue: Assay transform script helper function to get a run property value from a data.frame

Description

A function that takes in data.frame of the run properties info for a given assay transform script execution and returns the value for a given property name.

Usage

labkey.transform.getRunPropertyValue(runProps, propName)

Arguments

runProps

the data.frame of the run property key/value pairs

propName

the name of the property to get the value of within the runProps data.frame

Details

This helper function will most likely be used within an assay transform script after the labkey.transform.readRunPropertiesFile function has been called to load the full set of run properties.

Examples

Run this code
if (FALSE) {

# library(Rlabkey)

run.props = labkey.transform.readRunPropertiesFile("${runInfo}");
run.data.file = labkey.transform.getRunPropertyValue(run.props, "runDataFile");

}

Run the code above in your browser using DataLab