get_eqtl: Calculate cis- and trans-eQTLs

Description Usage Arguments Value Examples

Description

Calculate cis- and trans-eQTLs

Usage

1
get_eqtl(ncore, Ynew, ssnpDat, snp.info, gene.info, cov)

Arguments

ncore

The number of cores for parallel computing.

Ynew

An array of expression data of dimension sample-by-gene-by-tissue, nxpxT, where n is sample size. p is the number of genes, and T is the number of tissues.

ssnpDat

The genotype data matrix (n by SNP size).

snp.info

Input for MatrixEQTL, with col.names snpID, chr, pos.

gene.info

Input for MatrixEQTL, with col.names geneID, chr, lpos, rpos.

cov

The covariates matrix for MatrixEQTL.

Value

A list contains the cis- and trans-eQTLs for each gene.

Examples

1
2
3
4
5
6
## Not run: 
# a fake example

# eqtl_list = get_eqtl(ncore=2, Ynew, ssnpDat, snp.info, gene.info, cov)

## End(Not run)

randel/MixRF documentation built on May 26, 2019, 10:59 p.m.