Learn R Programming

PKbioanalysis

PKbioanalysis is a comprehensive R package designed to streamline pharmacokinetic (PK) and bioanalytical workflows from study design through data analysis and reporting. Built on regulatory best practices and FAIR principles, it provides an integrated solution for managing bioanalytical experiments with persistent data storage, interactive visualizations, and AI-assisted quality control.


✨ Key Features

Copy Link

Version

Install

install.packages('PKbioanalysis')

Monthly Downloads

575

Version

0.5.0

License

AGPL (>= 3)

Maintainer

Omar Elashkar

Last Published

February 17th, 2026

Functions in PKbioanalysis (0.5.0)

filter_chrom

title Filter Chromatogram Peaks
.child_to_df

Utility to extract named xml child to dataframe and rename
fill_scheme

Filling orientation of the plate
extract_peak_bounds

Extract Peak Boundaries
fit_var

Estimate Additive and proportional errors from calibration data
is_smoothed

Return an indicator if the chromatogram is smoothed
is_integrated

Check if peak was integrated for a specific compound
.parse_tlynx_xml

Parse targetlynx
get_sample_names

Find sample names for all samples
plot_var_pattern

Plot Relationship Between Concentration and CV/SD
precision_per_vial

Precision per vial
has_default_bounds

check if default expected RT is set for a compound
plot_chrom

Plot Chromatogram per Sample for Selected transitions
make_metabolic_study

Create a metabolic study layout
plot_peak_areas.PeakRes

Plot peak areas
nca_table

Calculate Cmax, Tmax and AUC for each subject given a compound's PK profiles
integrate

integrate Peak with trapzoid method given start and end
install_py_dep

Install Python dependencies for PKbioanalysis
plate_metadata

Set plate description
pkmerge

Merge PK profiles into QuantRes object
plot.PlateObj

Plotting 96 well plate
plot_RT.ChromRes

Plotting RT intervals of chromatogram
read_chrom

Read Chromatogram Files
quant_app

Quantification App
export_pk_profiles

Export PK profiles for a given compound in a specified format Currently supports "nonmem" format. The exported file will include a CSV with the PK data and an Excel file with the codebook.
plot_RT.PeakRes

Plot RT
plate_tree

Plot the design of the plate
export_run

Export run
prefilter_precision_data

Filter data
length,MultiPlate-method

Length method for MultiPlate
make_calibration_study

Create a calibration study with calibration standards and QCs
read_experiment_results

Read experiment results
register_plate,MultiPlate-method

Register a multiple plates at once
smooth_chrom

Smooth Chromatogram Peaks
study_app

bioanalytic_app
reverse_predict

Reverse predict concentration from response
register_plate,PlateObj-method

Register a plate This will save the plate to the database
register_plate

This will save the plate to the database
write_injec_seq

Write injection sequence to database
run_summary

Get Summary of an object
response_to_conc

Convert response to concentration
[[,MultiPlate-method

Subsetting method for MultiPlate
update_RT

Manually Update Observed RT for either all compounds, all next samples, or single compound and sample
add_samples_db2

Add samples from the sample log to the plate with multiplication
add_samples

Add samples to plate with pharmacokinetic attributes
add_samples_db

Add samples from the sample log to the plate
add_DB

Add double blank (DB) to a plate
add_blank

Add blank to the plate Can be either double blank (DB), CS0IS+ or CS+IS0
add_cs_curve

Add calibration curve to the plate
add_suitability

Add suitability sample to the plate
add_DQC

Add dilution quality control (DQC) to the plate
add_QC

Add quality control samples to the plate
combine_injec_lists

Create Sample List with rigorous design
config_suitability

Configure suitability runs
calc_var_summary

Calculate Summary Statistics for Each Concentration Level For Either Concentration, Area, or Area Ratio
check_chrom_cmpds

Check Matching of Compound and Transitions in chrom_res and method database
create_new_study

Create a new study in the database
get_compound_ID

Find Compound ID from compound Name
get_sample_ID

Find Sample ID from sample Name
area_report.PeakRes

gt table of areas
PKbioanalysis-package

PKbioanalysis: Pharmacokinetic Bioanalysis Experiments Design and Exploration
combine_plates

Combine plates in MultiPlate object
build_injec_seq

Create Injection Sequence
cv

Calculate Coefficient of variation
.parse_tlynx_csv

Parse targetlynx CSV file
.parse_cmpds

Create a new methods database from a YAML file
.filter_peak

Filter peaks to specific RT range
formated_print

Format and print the results of fit_var
estim_dil_limit

Estimate Dilution Limit Based on Additive and Proportional Errors and LLOQ
generate_96

Generate 96 well plate
chrom_app

chrom_apps
clear_python_deps

Clear Managed Python Environments
export_integration

Export Expected RT
estim_lloq

Estimate LLOQ From Existing Additive and Proportional errors
download_sample_list

Download sample list from database to local spreadsheet with vendor specific format