Learn R Programming

MRPC (version 2.0.0)

simu.data_layered: Data for the Layered Model

Description

Simulate Data for the Layered Model.

Arguments

Value

Matrix

Details

The column order of the input matrix is the genotype from Single-nucleotide polymorphism (SNPs), indels, copy number variation (CNV), or Expression quantitative trait loci (eQTL) to genes. If we consider one SNPs/CNV/indels/CNV/eQTL then the first column of the input matrix is the SNPs/CNV/indels/CNV/eQTL and the remaining columns are the gene expression data.

See Also

SimulatedData for simulated data generating function.

Examples

Run this code
# NOT RUN {
## Layered Model
simu.data_layered <- SimulatedData(N = 10^3, p = 0.45,
                                   'layered', b0.1 = 0,
                                   b1.1 = 1, b1.2 = 1,
                                   b1.3 = 1, sd.1 = 1)
# }

Run the code above in your browser using DataLab