X.pathway_discrete.balanced: Generate a matrix of gene expressions (discrete version of...

Description Usage Arguments Value References Examples

Description

Generate a matrix of gene expressions in the presence of gene pathways, we first produce the matrix by X.pathway(Emura et al. 2012), then we change each value to 1 ~ 4 depend on the quantile.

Usage

1
X.pathway_discrete.balanced(n, p, q1, q2, rho1 = 0.5, rho2 = 0.5)

Arguments

n

:the number of individuals (sample size)

p

:the number of genes

q1

:the number of genes in the first pathway

q2

:the number of genes in the second pathway

rho1

:the correlation coefficient for the first pathway

rho2

:the correlation coefficient for the second pathway

Value

X n by p matrix of gene expressions

References

Emura T, Chen YH, Chen HY (2012). Survival Prediction Based on Compound Covariate under Cox Proportional Hazard Models. PLoS ONE 7(10): e47627. doi:10.1371/journal.pone.0047627

Examples

1
2
## generate 6 gene expressions from 10 individuals
X.pathway_discrete.balanced(n=10,p=6,q1=2,q2=2,rho1=0.5,rho2=0.5)

uni.survival.tree documentation built on March 22, 2021, 9:05 a.m.