【工具】BioPred一个用于精准医疗中生物标志物分析的 R 软件包

介绍

R 语言包 BioPred 提供了一系列用于精准医疗中的亚组分析和生物标志物分析的工具。它借助极端梯度提升(XGBoost)算法,并结合倾向得分加权和 A 学习方法,帮助优化个体化治疗规则,从而简化亚组识别过程。BioPred 还能够识别预测性生物标志物,并获取其重要性排名。此外,该包还提供了针对生物标志物分析定制的图形图表。这一工具使临床研究人员能够加深对药物开发中生物标志物和患者群体的理解。

The R package BioPred offers a suite of tools for subgroup and biomarker analysis in precision medicine. Leveraging Extreme Gradient Boosting (XGBoost) along with propensity score weighting and A-learning methods, BioPred facilitates the optimization of individualized treatment rules to streamline subgroup identification. BioPred also enables the identification of predictive biomarkers and obtaining their importance rankings. Moreover, the package provides graphical plots tailored for biomarker analysis. This tool enables clinical researchers seeking to enhance their understanding of biomarkers and patient population in drug development.

代码

https://github.com/deeplearner0731/BioPred

文章目录

案例

安装

r 复制代码
install.packages("BioPred")

devtools::install_github("deeplearner0731/BioPred")

运行代码: https://cran.r-project.org/web/packages/BioPred/vignettes/Tutorial.html

r 复制代码
model = XGBoostSub_bin(X, y, trt, pi,Loss_type = "A_learning", params = list(learning_rate = 0.01, max_depth = 1, lambda = 5, tree_method = 'hist'), nrounds = 300, disable_default_eval_metric = 0, verbose = FALSE)

get_subgroup_results(model, X)

eval_metric_bin(model, X, y, pi, trt, Loss_type = "A_learning")

predictive_biomarker_imp(model)

fixcut_bin(yvar="y", xvar="x1", dir=">", cutoffs=c(0.1,0.3,0.5), data=tutorial_data, method="Fisher", yvar.display="y", xvar.display="Biomarker x1", vert.x=F)

res=cut_perf(yvar="y", censorvar=NULL, xvar="x1", cutoff=c(0.5), dir=">", xvars.adj=NULL, data=tutorial_data, type="c", yvar.display="y", xvar.display="Biomarker x1")

res = subgrp_perf_pred(yvar="y.time", censorvar="y.event", grpvar="biogroup", grpname=c("biomarker_positive",'biomarker_negative'),trtvar="treatment_categorical", trtname=c("Placebo", "Treatment"), xvars.adj=NULL,data=tutorial_data, type="s")

gam_ctr_plot(yvar="y.time", censorvar="y.event", xvar= "x1", xvars.adj=NULL,sxvars.adj=NULL,trtvar="trt",type="s",data=tutorial_data, k=5, title="Group Contrast", ybreaks=NULL, xbreaks=NULL, rugcol.var=NULL,link.scale=T, prt.sum=T, prt.chk=F, outlier.rm=F)

roc_bin_plot(yvar="y", xvars="x1", dirs="auto", data=tutorial_data, yvar.display="y.bin", xvars.display="Biomarker x1")

参考

相关推荐
陈天伟教授5 小时前
人工智能训练师认证教程(3)Pandas数据世界的军刀
人工智能·数据分析·pandas
databook6 小时前
掌握相关性分析:读懂数据间的“悄悄话”
python·数据挖掘·数据分析
企业智能研究7 小时前
数据分析Agent白皮书:揭秘Data x AI的底层逻辑与未来关键
大数据·人工智能·数据分析
十六年开源服务商9 小时前
怎样做好WordPress网站数据分析与运维服务
运维·数据挖掘·数据分析
沃达德软件9 小时前
大数据治安防控中心
大数据·人工智能·信息可视化·数据挖掘·数据分析
FIT2CLOUD飞致云10 小时前
仪表板和数据大屏支持统一设置数值格式,DataEase开源BI工具v2.10.18 LTS版本发布
开源·数据可视化·dataease·bi·数据大屏
anghost15011 小时前
基于 STM32 的湖泊水位报警系统设计
stm32·嵌入式硬件·数据挖掘
Lun3866buzha12 小时前
大型铸件表面缺陷检测与分类_YOLO11-C2BRA应用实践
人工智能·分类·数据挖掘
李慕婉学姐13 小时前
【开题答辩过程】以《基于python的气象灾害数据分析与可视化系统》为例,不知道这个选题怎么做的,不知道这个选题怎么开题答辩的可以进来看看
开发语言·python·数据分析
Wuhan87827211m13 小时前
微生物细胞检测与识别 大肠杆菌E.coli和其他细菌细胞自动检测与分类 RetinaNet+RegNet模型实现
人工智能·分类·数据挖掘