跳到正文

药代动力学与药效研究建模

组织 PK/PD 研究模型、参数、暴露与反应分析,保存数据依据、模型假设及评价结果。

开源精选医疗业务31 个文件50,135 Stars浏览次数 0K-Dense-AI/scientific-agent-skills MIT版本 a1043ef
开始使用

适用环境:Requires Python 3.12+ with NumPy 2+ and SciPy. No network access and no proprietary software. The estimation tools this skill orients you towards (NONMEM, Monolix, Phoenix, Simcyp, GastroPlus) are licensed separately and are never invoked by these scripts.

输入资料
获准使用的 PK/PD 研究资料 模型目标、参数与分析环境 阅读本节完整说明
交付内容
可复查的研究模型 模型评价与假设说明 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

references/software-ecosystem.md

Choose a tool by required model, diagnostics and verification evidence. Neither programming language nor vendor establishes suitability for a regulatory or clinical context. Bundled scripts are tested exploratory implementations, not a validated clinical platform.

Executed Python interfaces

NumPy 2.5.3 and SciPy 1.18.1 were used for isolated tests. NumPy2+ provides np.trapezoid; it does not sort sample times. SciPy least_squares, minimize, solve_ivp and distribution functions supply numerical primitives; optimizer/solver success alone is not scientific validation.

Pharmpy 2.2.0 (26 August 2026) requires Python>=3.12, excluding 3.14.1. Installed signatures and seven independent transformations were checked. Important changes: dataset indices begin at 1 since 2.0; add_placebo_model became set_placebo_model in 2.1; set_unit became annotate_unit in 2.2. Annotation declares a unit; convert_unit changes values. Inspect observation IDs because get_observations includes all DVIDs by default. Changelog.

# Executed independently on Pharmpy 2.2.0's bundled model; no estimation engine required.
import pharmpy.modeling as m
base = m.load_example_model("pheno")
tmdd = m.set_tmdd(base, type="qss")
turnover = m.add_indirect_effect(base, expr="emax", prod=True)
direct = m.set_direct_effect(base, expr="sigmoid")
link = m.add_effect_compartment(base, expr="emax")
size = m.add_allometry(base, allometric_variable="WGT", reference_value=70)
transit = m.set_transit_compartments(base, n=3, keep_depot=True)
nonlinear = m.set_michaelis_menten_elimination(base)

Transformations return new models; unassigned calls leave the original unchanged. A successful transformation is not a fitted/validated model. set_tmdd observation mapping is described in TMDD, and shrinkage's sd convention in population PK.

The installed tools include run_allometry, run_amd, run_bootstrap, run_covsearch, run_estmethod, run_iivsearch, run_iovsearch, run_linearize, run_modelfit, run_modelrank, run_modelsearch, run_pdsearch, run_qa, run_retries, run_ruvsearch, run_simulation, run_structsearch, run_tool and run_vpc. Engine-backed runs require separately configured estimation software and were not executed. Tool documentation.

Specialist tools reviewed through official documentation

Task Tools and boundary
NLME NONMEM 7.6, Monolix, nlmixr2; select estimation/diagnostics appropriate to data
NCA Phoenix WinNonlin, PKNCA; predefine conventions and qualify the implementation
Simulation rxode2, mrgsolve, Simulx; preserve event semantics and residual/IIV distinctions
BE PowerTOST for planning; validated replicate-design analysis for ABEL/RSABE
PBPK PK-Sim/MoBi 12.3, Simcyp, GastroPlus; context-specific verification

CRAN nlmixr2 currently reports 7.0.1 with R>=4.1 and rxode2>=5.0.0. Match companion-package versions; recent rxode2 serialization changes mean old saved objects may need conversion/refitting. CRAN package, rxode2 news. NONMEM 7.6 includes ADVAN16/17 for delay equations; consult its installed manual for control-stream semantics. Vendor overview.

PKPy's author repository describes its Python PK workflow; pkpy returned 404 from PyPI during review, so do not assume that package name is installable there. chi-drm1.0.3, PINTS0.6.1 and lmfit1.3.4 metadata were checked, but no API examples or model fits for them were executed. They are optional alternatives, not dependencies of these scripts. See source ledger for evidence boundaries.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan