compute_D: Computation of the D matrix.

Description Usage Arguments Value

View source: R/simu.R

Description

This function compute the D matrix with an effect on age and / or plates

Usage

1
2
compute_D(A_mat, T_mat, exp_grp, sites_sex = NA, coeff_sex = NA,
  plate_effect = NA)

Arguments

A_mat

The A matrix.

T_mat

The T matrix.

exp_grp

The matrix of experimental data for all the patients.

sites_sex

NA by default, set sites affected by sex if you want a sex effect

coeff_sex

NA by default, set coeff of sex if you want a sex effect.

plate_effect,

Na by default, put plate_effect if you want one

Value

This function return a matrix of size probes*n with possibly an effect of confounding factors


bcm-uga/medepir documentation built on Oct. 11, 2020, 2 a.m.