# NOT RUN {
########
# Note: For this example we are using a paediatric database that we have including data of
# children from 0 to 19 years old.
########
# Doses of adults
doseAd <- data.frame("d1" = 100, "d2" = 150,"d3" = 200,"d4"= 250,"d5" =300)
Cl_ad <- 3.95
children <- read.csv("/Users/artemistoumazi/paediatric_data_p3m/children_0_19.csv")
AGE <- children$Age
W <- children$Weight
W_ad <- 70
Cl_ad <- 3.95
F_ad <- 0.6
Eg <- 0
Eh <- 0.058
f_abs <- F_ad/((1 - Eh)*(1-Eg))
fu_ad <- 1
perc_CYPh <- data.frame("CYP3A4_5" = 0.7, "CYP1A2" = 0.3)
perc_CYPg <- data.frame("CYP3A4_5" = 1)
perc_alb <- 1
perc_alpha1AG <- 0
data_molecule <- list(F_ad, f_abs, Eg, Eh, fu_ad, perc_CYPg, perc_CYPh, perc_alb,
perc_alpha1AG)
# Compute the clearance of children using maturation adjustment via
# the function Clch.Mat().
Clch_mat <- Clch.Mat(AGE, W, Cl_ad, W_ad, data_molecule)
doseRange(Clch_mat, Cl_ad, doseAd)
# }
Run the code above in your browser using DataLab