Update version to 1.18.0 so it can be updated on BioC
Science-wide false discovery rate
swfdr is an R package for dealing with multiple hypothesis testing.
swfdr
The package is available through Bioconductor.
library(BiocManager) BiocManager::install("swfdr")
It is also possible to install in-development versions from github.
library(devtools) install_github("leekgroup/swfdr")
A minimal working example for using the lm_pi0 and lm_qvalue functions is as follows
lm_pi0
lm_qvalue
library(swfdr) x <- c(rbeta(1000, 0.2, 1), runif(1000, 0, 1)) x.covariate = rep(c(1,2), each=1000) # compute covariate-adjusted pi0 - probability of null hypothesis to be true x.pi0 = lm_pi0(x, X=x.covariate) x.pi0 # compute covariate-adjusted qvalues x.qvalues <- lm_qvalue(x, X=x.covariate) x.qvalues
用于生物医学高通量数据分析中错误发现率的统计校正
swfdr
Science-wide false discovery rate
swfdris an R package for dealing with multiple hypothesis testing.Installation
The package is available through Bioconductor.
It is also possible to install in-development versions from github.
Example
A minimal working example for using the
lm_pi0andlm_qvaluefunctions is as follows