Skip to contents

This function compiles a list of biomarker variable names, grouped into categories. Some of the categories are hard-coded, while others are extracted from the column names of the input data.frame dataset using regular expressions (see base::regex and base::grep()).

Usage

compile_biomarker_group_list(dataset)

Arguments

dataset

Dataset to extract biomarker names from using regular expressions

Value

a list of character vectors, with the list names denoting biomarker groups and the elements of the character vectors denoting individual biomarkers in each group.

Examples

compile_biomarker_group_list(dataset = test_data_v1)