##########################################
## INSTALLMENT
##########################################
## try http:// if https:// URLs are not supported
source("http://bioconductor.org/biocLite.R")
biocLite("qvalue")
package ‘qvalue’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Administrator\AppData\Local\Temp\RtmpSWjrKo\downloaded_packages
Old packages: 'boot', 'class', 'cluster', 'codetools', 'colorspace',
'digest', 'foreign', 'Formula', 'ggplot2', 'gplots', 'gtools', 'Hmisc',
'KernSmooth', 'lattice', 'MASS', 'Matrix', 'matrixStats', 'mgcv', 'nlme',
'nnet', 'R.methodsS3', 'RColorBrewer', 'Rcpp', 'reshape2', 'rpart',
'RSQLite', 'spatial', 'survival', 'WGCNA'
Update all/some/none? [a/s/n]: n
##########################################
## TEST
##########################################
library(qvalue)
data(hedenfalk)
pvalues <- hedenfalk
qobj <- qvalue(p = pvalues)
转载于:https://www.cnblogs.com/emanlee/p/5679494.html