Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

# library(Rlabkey)

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

Rlabkey

Data Exchange Between R and 'LabKey' Server

v2.6.0
Apache License 2.0
Authors
Peter Hussey
Initial release
2021-02-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.