DU_rearrangement: Reorganization of results matrix after the multiple test.

View source: R/choose_param.R

DU_rearrangementR Documentation

Reorganization of results matrix after the multiple test.

Description

This function reorganizes matrices resulting from the multiple test. It takes a "DUDUDUDU" matrix and make two independant D and U matrices.

Usage

DU_rearrangement(multiple_tests, simu_data, multiple_values)

Arguments

multiple_tests

The results matrix, which has a form of "DUDUDUDU".

simu_data

The matrix of initial_data or simulated_data in the simulation, used for dimnames.

multiple_values

The vector with different values of the test.

Value

This function returns a list of two logical matrices. The D matrix with TRUE for genes down-regulated, and the U matrix with TRUE for genes up-regulated.


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