Giter Site home page Giter Site logo

eqtlmapt's Introduction

eQTLMAPT

eQTLMAPT - eQTL Mediaiton Analysis with accelerated Permutation Testing approaches

Introduction

eQTLMAPT uses R language to achieve fast and accurate eQTL mediation analysis with efficient permutation procedures to control for multiple testing. eQTLMAPT provides adaptive permutation scheme which prunes the permutation process opportunely, and it models the null distribution using generalized Pareto distribution (GPD) trained from a few permutations. The adjusted P-values can be estimated at any significance level based on the null distribution with much less computational cost compared with traditional fixed number permutation strategies. In addition, eQTLMAPT provides flexible options for users to choose proper permutation schemes combining with various confounding factors adjustment methods based on their practical needs. Experiments on real eQTL dataset demonstrate that eQTLMAPT provides higher resolution of estimated significance and is order of magnitude faster than compared methods with similar accuracy.

Installation

install.packages("devtools", dependencies = T)  
devtools::install_github("hitbc/eQTLMAPT")

Input

snp.dat A eQTL genotype matrix. Each row is an eQTL, each column is a sample.
fea.dat A feature profile matrix. Each row is for one feature profile, each column is a sample.
conf/known.conf A 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.
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 eQTL in eQTL genotype matrix, the index of cis-gene transcript in feature profile matrix, and the index of trans-gene in feature profile matrix.
cl If parallel computing is required, cluster information needs to be provided.
For other parameter information, refer specifically to eQTLMAPT.

Output

nperm If adaptive permutation scheme is adopted, the actual permutation number is output.
nominal.p The nominal P-values.
empirical.p The empirical P-Value.
empirical.p.gpd The empirical P-value obtained by GPD fitting.
std.error The std.error of cis-gene in liner regression.
t_stat The t_stat of cis-gene in liner regression.
beta The beta of SNP in liner regression.
beta.total The beta of cis-gene in liner regression.
beta.change The proportions mediated.
pc.matrix PCs will be returned if the PCs based on expression data are used as the pool of potential confounders. Each column is a PC.
sel.conf.ind An indicator matrix with dimension of the number of trios by the number of covariates in cov.pool or pc.matrix if the principal components (PCs) based on expression data are used as the pool of potential confounders.

Citation

Paper are published at paper.

Contact

If you need help, please contact [email protected] or [email protected]ใ€‚

eqtlmapt's People

Contributors

qidipeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.