PKs: Calculate the representative pharmacokinetics parameters and...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

A function to calculate the 7 pharmacokinetics parameters (Tmax, Cmax, AUC, CL, Tlast, Tfirst, Cmin) and plot the time-intensity curves for specified compounds.

Usage

1
PKs(d.pk,d.point="mean",d.ebar="SE",filepath=getwd(),design=FALSE)

Arguments

d.pk

The data under analysis (data frame with required format) The first row should be column names. The first and the second column of the first row should be "Name" and "ID", and you can set 2 more tags at the third and the fourth column of the first row, such as "m.z" and "RT.min." or anything you like. From the fifth column till the end, sample indexes or names are expected. The first row of the data frame should be the gender information."1"means male, and "2" means female. The second row of the data frame should be the group information. The first column of the second row should be "group", and you can add group indexes of the data from the fifth column at the second row. The format of group number should be "0"(pre-dose). "1","2","3","4"...(post-dose). The third row of the data frame should be the information of timepoints. Please see the demo data for detailed format.

d.point

The value to calculate the pharmacokinetics parameters, and the value of points in the time-intensity curve. d.point=c ("mean","median"). Default:"mean".

d.ebar

The value of error bars. d.ebar=c ("SE","SD"). Defalut:"SE".

filepath

A character string indicating the path where the results may be saved in.

design

(optional) a study design dataset(data frame with required format). Use data(design) to see the detailed format. Default:"FALSE"

Details

nothing

Value

A list of metabolites and 7 pharmacokinetics parameters (Tmax,Cmax,AUC,CL,Tlast,Tfirst,Cmin) of specified compound.

Cmax: The peak plasma concentration of a drug after administration.

AUC: Area under the Drug Concentration Curve(0- infinite).

CL: The rate of clear.

Tlast: The last time.

Tfirst: Time to observe the first non-zero concentration.

Cmin: The least plasma concentration of a drug after administration.

A folder named "PKresluts" will also be created automatically which contains three folders:"PKresluts(all)","PKresluts(male)","PKresluts(female)". Each folder has two kinds of files (.xlsx and .PDF).

The file named “PK-parameters.xlsx” contains the pharmacokinetics parameters and the one or more *.PDF files show the time-intensity curves of specified metabolites. Each metabolite has one PDF file named "Time-Intensity-Curve of (its own name).pdf".If the study design is given by right format, the time points of meals and sleeps will be described at the bottom of the picture.

Note

nothing

Author(s)

Mengci Li, Shouli Wang, Guoxiang Xie, Tianlu Chen and Wei Jia

References

1. Veng Pedersen P. Mean time parameters in pharmacokinetics. Definition, computation and clinical implications. (1898) Clin Pharmacokinet.

2. Krishnaswami S, Wang T, et al. Single- and multiple-dose pharmacokinetics of tofacitinib in healthy Chinese volunteers. (2015) Clin Pharmacol Drug Dev.

See Also

nothing

Examples

1
2
3
data("C")
PKs(C,d.point="mean",d.ebar="SE",filepath=getwd(),design=FALSE)
####the result is saved in your current working directory of the R process

polyPK documentation built on May 2, 2019, 12:37 a.m.