Giter Site home page Giter Site logo

pharmcat / metidanca.jl Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 4.36 MB

Non-compartmental pharmacokinetics analysis for Julia.

Home Page: https://pharmcat.github.io/MetidaNCA.jl/

License: MIT License

Julia 100.00%
nca pharmacokinetics pharmacodynamics bioequivalence clinical-trials julia drug-development medicine pharmacology clinical-trial

metidanca.jl's Introduction

MetidaNCA

This program comes with absolutely no warranty. No liability is accepted for any loss and risk to public health resulting from use of this software.

Version Cover Build Docs
version codecov Tier 1 Latest docs Stable docs

Non-compartment PK analysis (NCA).

Pharmacokinetics, sometimes abbreviated as PK, is a branch of pharmacology dedicated to determine the fate of substances administered to a living organism.

When analyzing pharmacokinetic data, one generally employs either model fitting using nonlinear regression analysis or non-compartmental analysis techniques (NCA). The method one actually employs depends on what is required from the analysis. If the primary requirement is to determine the degree of exposure following administration of a drug (such as AUC), and perhaps the drug's associated pharmacokinetic parameters, such as clearance, elimination half-life, T (max), C (max), etc., then NCA is generally the preferred methodology to use in that it requires fewer assumptions than model-based approaches.[*]

PK urine parameters and PD parameters such as Time Above/Below Baseline/Threshold can be also calculated.

Also this package include recipes for plotting PK/PD data.

  • Gabrielsson J, Weiner D. Non-compartmental analysis. Methods Mol Biol. 2012;929:377-89. doi: 10.1007/978-1-62703-050-2_16. PMID: 23007438.

Installation

import Pkg; Pkg.add("MetidaNCA")

Test

Pkg.test("MetidaNCA")

First step

using DataFrames, CSV, MetidaNCA

pkdata2  = CSV.File(joinpath(dirname(pathof(MetidaNCA)), "..", "test", "csv", "pkdata2.csv")) |> DataFrame

ds = MetidaNCA.pkimport(pkdata2, :Time, :Concentration, [:Subject, :Formulation]; dosetime = MetidaNCA.DoseTime(dose = 100, time = 0))

sort!(ds, :Subject)

dsnca = MetidaNCA.nca!(ds, adm = :ev, calcm = :lint, verbose = 2)

Plots

Plot 1

Plot 2

Plot 3

metidanca.jl's People

Contributors

pharmcat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

metidanca.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Can there be functions to just compute a specific PK metric?

Hi,

Thank you so much for developing this useful package. I was wondering if there is a way to isolate the PK parameter functions! Like having something that would specifically measure auc or cmax etc.. rather than having to calculate all parameters with the nca! function then extracting those!

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.