Giter VIP home page Giter VIP logo

awfisher's Introduction

AWFisher

Github repository for adaptively weighted fisher's method (AW-Fisher)

Install This Package from github

  • In R console
library(devtools)
install_github("Caleb-Huo/AWFisher") 

Citation

  • Huo, Z., Tang, S., Park, Y. and Tseng, G., 2020. P-value evaluation, variability index and biomarker categorization for adaptively weighted Fisher’s meta-analysis method in omics applications. Bioinformatics, 36(2), pp.524-532.

  • The manuscript can be found here: https://www.ncbi.nlm.nih.gov/pubmed/31359040

Full tutorial

  • Including a real data example using mouse metabolism data of three tissues
  • Perform transcriptomic meta-analysis and differential expression pattern detection

http://htmlpreview.github.io/?https://github.com/Caleb-Huo/AWFisher/blob/master/vignettes/AWFisher.html

Short tutorial

  • This short tutorial is about how to perform meta-analysis combining p-values from multiple studies.
  • Currently, only K=2, 3, ..., 100 (number of studies) are allowed in the R package.
  • The input should be a matrix. If not, please convert the data to a matrix (i.e., as.matrix()).
library(AWFisher)

K <- 50 ## combining K studies
G <- 10000 ## simulate G genes

set.seed(15213)
p.values = matrix(runif(K*G), ncol=K) ## This should be a matrix (if not, try as.matrix) instead of a dataframe.
res = AWFisher_pvalue(p.values)

hist(res$pvalues, breaks=40)

ks<-ks.test(res$pvalues, "punif", min=0, max=1, alternative = "two.sided"); ## KS test to test if the AW p-values are uniformly distributed under the null
ks

awfisher's People

Contributors

caleb-huo avatar nturaga avatar

Stargazers

Qin Lin avatar Hyun-Hwan Jeong avatar yyzou avatar

Watchers

James Cloos avatar  avatar  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.