rename_experimental_variables: rename_experimental_variables

View source: R/rename_experimental_variables.R

rename_experimental_variablesR Documentation

rename_experimental_variables

Description

This function concatenate experimental variable names to reflect the nested experimental structure. For example, for Cell-lineA exists in ExperimentI and ExperimentII, the concatenated name will be ExperimentI_Cell-lineA.

Usage

rename_experimental_variables(data, experimental_columns)

Arguments

data

Input data

experimental_columns

Name of the variable related to experimental design such as "experiment", "plate", and "cell_line".

Value

Matrix with concatenated experimental variable names

Examples

rename_experimental_variables(data, c("experiment","line"))

gladstone-institutes/CalcPower documentation built on Jan. 3, 2023, 11:27 a.m.