define_pbpk_layout: Make proper PBPK layout

View source: R/define_pbpk_layout.R

define_pbpk_layoutR Documentation

Make proper PBPK layout

Description

Make special layout for PBPK models with the veinous compartment on the left, the arterial compartment on the right and the organs in between.

Usage

define_pbpk_layout(comp = NULL, arrow = NULL, pbpk_color = TRUE,
  vein_comp_label = "venous", artery_comp_label = "arterial")

Arguments

comp

a data.frame created by define_comp_layout

arrow

a data.frame created by define_arrow_layout

pbpk_color

logical if TRUE oxygenated blood is represented in red and deoxygenated blood is represented in blue. If FALSE previously defined color code in define_comp_layout and define_arrow_layout will be used

vein_comp_label

label of the veinous compartment

artery_comp_label

label of the arterial compartment

Value

A list

See Also

define_comp_layout, define_arrow_layout, qmd

Examples

## Not run: 
qmd_info <- import_qmd_info(dir = '../models/pk/', runno = '001')
comp     <- define_comp_layout(qmd_info)
arrow    <- define_arrow_layout(qmd_info)
pbpk     <- define_pbpk_layout(comp = comp, arrow = arrow)

## End(Not run)

guiastrennec/modelviz documentation built on Feb. 16, 2024, 8:14 p.m.