R: Assay transform script helper function to get a run property...

labkey.transform.getRunPropertyValue {Rlabkey} | R Documentation

## 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");

[Package Rlabkey version 2.4.0 Index]