make_dataset_1ctrl | R Documentation |
This function makes the Penda dataset with control and cases sorted by value in control.
make_dataset_1ctrl(control, data_case)
data_case |
The matrix with datas to analyze (ex: tumors samples). |
controls |
The vector with reference data to analyze (ex: control sample). |
This function return a list with preprocessed data_ctrl and data_case, and the vector 'info' with the different parameters.
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.