Learn R Programming

MRPC (version 2.0.0)

simu.data_M2: Data for Model 2

Description

Simulate Data for Model 2.

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 {
## Model 2
simu.data_M2 <- SimulatedData(N = 10^3, p = 0.45,
                              'model2', b0.1 = 0,
                              b1.1 = 1, b1.2 = 1,
                              b1.3 = 1, sd.1 = 1)
# }

Run the code above in your browser using DataLab