make_dataset_1ctrl: Making the Penda Dataset for one control samples

View source: R/version1ctrl.R

make_dataset_1ctrlR Documentation

Making the Penda Dataset for one control samples

Description

This function makes the Penda dataset with control and cases sorted by value in control.

Usage

make_dataset_1ctrl(control, data_case)

Arguments

data_case

The matrix with datas to analyze (ex: tumors samples).

controls

The vector with reference data to analyze (ex: control sample).

Value

This function return a list with preprocessed data_ctrl and data_case, and the vector 'info' with the different parameters.

Examples

# Example for make_dataset_1ctrl function
data_ctrl = penda::penda_data_ctrl[1:10, 1]
data_case = penda::penda_data_case[1:10, 1:3]
dataset = penda::make_dataset_1ctrl(control = data_ctrl,
                                    data_case = data_case)
data_ctrl = dataset$data_ctrl
data_case = dataset$data_case

CDecamps/penda documentation built on March 29, 2024, 3:26 a.m.