ecco0: Controlling for Confounding Effects in eQTL Mapping Studies...

Description Usage Arguments Details Value Author(s) Examples

View source: R/ECCO.R

Description

Determining the optimal number of PEER factors for eQTL mapping analysis through DE and MR analysis

Usage

1
ecco0(gene, genename, gene_name, geno, ind, Y)

Arguments

gene

the gene expression data.

genename

the name of the gene

gene_name

a vector containg the names of all genes

geno

a matrix containg all the cis-SNPs of the analyzed gene

ind

the index of the gene

Y

the phenotype data

Details

Instead of performing repetitive eQTL mapping, ECCO jointly applies differential expression analysis and Mendelian randomization (MR) analysis, leading to substantial computational savings.

Value

iv_snp

the snp that has the strongest association with the gene

Author(s)

Yue Fan, Shiquan Sun, Xiang Zhou

Examples

1
2
3
4
5
6
7
8
9
data(exampledata)
attach(exampledata)
ind=1
genename=gene_name[ind]
gene=M_matrix[,ind]
geno=snp_raw[[ind]]
result=ecco0(gene,genename,gene_name,geno,ind,Y)
closeAllConnections()
detach(exampledata)

fanyue322/ECCO documentation built on July 11, 2020, 1:10 p.m.