微信公众号:医学统计与R语言
如果你觉得对你有帮助,欢迎转发
(FalseDiscoveryRate(FDR)=Expected(FalsePositive/(FalsePositive+TruePositive))). In other words, FDR is the expected proportion of false positives among all positives which rejected the null hypothesis and not among all the tests undertaken. In the FDR method, P values are ranked in an ascending array and multiplied by m/k where k is the position of a P value in the sorted vector and m is the number of independent tests.
Example:
○ m = 10000
● p-values:
○ cutoff at .01 assumes that you likely found about 100 false positives
○ cutoff of .0001 assumes that you only found 1 false positive
● q-values:
○ set q-value cutoff at .05, and be sure that only 5% of the significant genes found are likely to be false positives
#
输入1:Benjamini and Hochberg FDR
pajust$pvalue),] pajust$Bonferroni$pvalue,method="bonferroni") pajust$BH$pvalue,method="BH") pajustpajusttest=paste("t",1:6,sep=""),pvalue=c(0.053,0.001,0.045,0.03,0.02,0.01))
结果1:
2t20.0010.0060.006 6t60.0100.0600.030 5t50.0200.1200.040 4t40.0300.1800.045 3t30.0450.2700.053 1t10.0530.3180.053testpvalueBonferroniBH
Storey’s positive FDR (pFDR) 参考qvalue package
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("qvalue")
library(qvalue)
前文链接:
医学统计与R语言:多列分组正态性检验
医学统计与R语言:Meta 回归作图(Meta regression Plot)
医学统计与R语言:aggregate.plot了解一下
医学统计与R语言:有序Probit回归(Ordered Probit Model)
医学统计与R语言:Probit回归模型及边际效应(Marginal effects)
医学统计与R语言:Lord’s Paradox
医学统计与R语言:协方差分析(ANCOVA)+plus
医学统计与R语言:Kendall是谁?样本量是自变量的10倍?
医学统计与R语言:方差分析中计划好的多重比较(Planned Comparisons and Post Hoc Tests)
医学统计与R语言:圆形树状图(circular dendrogram)
医学统计与R语言:画一个姑娘陪着我,再画个花边的被窝
医学统计与R语言:双因素重复测量方差分析(Two-way repeated measures ANOVA)
医学统计R语言:分面画boxplot
医学统计与R语言:调节效应分析(Moderation Analysis)
医学统计与R语言:结构方程模型(structural equation model)
医学统计与R语言:中介效应分析(mediation effect analysis)
医学统计与R语言:生存曲线(survival curves)with risk.table
医学统计与R语言:如何比较两种诊断试验的灵敏度和特异度?
医学统计与R语言:你知道nomogram的points和total points怎么算吗?
医学统计与R语言:Cleveland dot plot
医学统计与R语言:交互作用模型中分组效应及标准误的计算
医学统计与R语言:多条ROC曲线的AUC多重比较
医学统计与R语言:来,今天学个散点图!
医学统计与R语言:一份简单的数据整理分析
医学统计与R语言:利用金字塔图比较多个指标
医学统计与R语言:点图(dotplot)
医学统计与R语言:幕后高手出马!
医学统计与R语言:Calibration plot with 置信区间
医学统计与R语言:还说自己不会画Calibration plot!
医学统计与R语言:KS曲线,KS plot,lift plot
医学统计与R语言:身体酸痛,醒来学个卡方检验
医学统计与R语言:利用午睡几分钟,学习下Population Pyramid
医学统计与R语言:有序Logistic回归平行线检验(Test proportional odds assumption )
医学统计与R语言:你的基金标书里还少这幅图!
医学统计与R语言:这里的坑你踩过几回,有序多分类Logistic回归(Ordinal Logistic Regression)
医学统计与R语言:logsitc回归校准曲线 Calibration curve
医学统计与R语言:多分格相关系数(polychoric)多序列相关系数(polyserial)Coefficient Omega
医学统计与R语言:Tobit回归中的Marginal effect
医学统计与R语言:定量变量的无监督离散化( unsupervised discretization)
医学统计与R语言:Welch's ANOVA and Games-Howell post-hoc test
医学统计与R语言:配对均值检验可视化加label
医学统计与R语言:线性固定效应模型(Linear fix effect model )
医学统计与R语言:Tobit回归模型
函数医学统计与R语言:随机森林与Logistic预测(randomForest vs Logistic regression)
医学统计与R语言:多重比较P值的可视化
医学统计与R语言:肿瘤研究中的waterfall plot(瀑布图)
医学统计与R语言:多元方差分析与非参数多元方差分析
医学统计与R语言:使用R语言实现Johnson-Neyman分析
医学统计与R语言:多层线性模型图示
医学统计与R语言:多层线性模型(混合线性模型
医学统计与R语言:best subset of inputs for the glm famil
医学统计与R语言:多重线回归自变量筛选的几种方法
医学统计与R语言:关联规则Apriori算
医学统计与R语言:列联表可视化的4种方
医学统计与R语言:盘它!什么格式文件都可
医学统计与R语言:离群值分析(Outlier Detection
医学统计与R语言:决策树CHAI
医学统计与R语言:主成分分析(PCA)及可视
医学统计与R语言:可能是最全R语言操作手册(cheatsheets)
医学统计与R语言:听说你还在手动画三线表!
医学统计与R语言:合并多个Excel文
医学统计与R语言:政策效果评价之合成控制
医学统计与R语言:线性回归模型假设条件验证与诊断
医学统计与R语言:想发表sci就画这种Bland-Altman Plot