Description Usage Arguments Details Value Author(s) Examples
Determining the optimal number of PEER factors for eQTL mapping analysis through DE and MR analysis
1 | ecco0_ivw(gene, genename, gene_name, geno, ind, Y, r2 = 0.1, kb = 1)
|
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 |
r2 |
clumping r2 cutoff, default is 0.1 |
kb |
clumping window, default is 1 |
Instead of performing repetitive eQTL mapping, ECCO jointly applies differential expression analysis and Mendelian randomization (MR) analysis, leading to substantial computational savings.
iv_snp |
the snp that has the strongest association with the gene |
Yue Fan, Xiang Zhou
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_ivw[[ind]]
result=ecco0_ivw(gene,genename,gene_name,geno,ind,Y)
closeAllConnections()
detach(exampledata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.