tx_col: Translate a column name in the experiment data frame to text...

View source: R/abs_util.R

tx_colR Documentation

Translate a column name in the experiment data frame to text name.

Description

Take the name of a column in the experiment data frame and translate it to a text name (e.g., something a variable has been renamed to in AnalyzeBehaviorSpace) that can be used for labelling plots..

Usage

tx_col(var_col, mapping)

Arguments

var_col

The name of a column in the experiment data frame.

mapping

A mapping data frame from an experiment.

Value

The name of the variable corresponding to the chosen column.


jonathan-g/analyzeBehaviorspace documentation built on July 23, 2022, 11:01 a.m.