get_samples_for_regression: collect the respective subset of samples for selected protein...

View source: R/dataset.R

get_samples_for_regressionR Documentation

collect the respective subset of samples for selected protein data and prepare a metadata table for regression

Description

From sample metadata (dataset$samples), get the subset that is included in the parameter protein_data, select columns that contain potential regression variables (using user_provided_metadata()) and finally apply enforce_sample_value_types() to reformat all variables (except "sample_id") to factor or numeric.

Usage

get_samples_for_regression(dataset, protein_data)

Arguments

dataset

your dataset

protein_data

output from get_protein_matrix()


ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.