Description Usage Arguments Value References Examples

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.

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

`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 |

X n by p matrix of gene expressions

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

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.