Learn R Programming

GMAC (version 3.1)

dat: Example data

Description

This simulated data list is for demonstration.

Arguments

Value

A list containing

known.conf

The known confounders matrix which is adjusted in all mediation tests. Each row is a confounder, each column is a sample.

cov.pool

The pool of candidate confounding variables from which potential confounders are adaptively selected to adjust for each mediation test. Each row is a covariate, each column is a sample.

exp.dat

The gene expression matrix. Each row is for one gene, each column is a sample.

snp.dat.cis

The cis-eQTL genotype matrix. Each row is an eQTL, each column is a sample.

trios.idx

The matrix of selected trios indexes (row numbers) for mediation tests. Each row consists of the index (i.e., row number) of the eQTLs in snp.dat.cis, the index of cis-gene transcript in exp.dat, and the index of trans-gene transcript in exp.dat. The dimension is the number of trios by three.

Examples

Run this code
# NOT RUN {
data(example)
# }

Run the code above in your browser using DataLab