billdenney/pknca

AUClast/inf no output starting at Time point 0

Minshi-Lan opened this issue · 6 comments

Hi Billdenney,

When I using PKNCA to calculate AUC, something went wrong. I have a oral administration dataset, which means at time point 0, the concentration should be 0. when I calculate the AUC from Time 0 to inf or any else time point, AUClast or AUCinf could not be output and I got warning like this :

Requesting an AUC range starting (0) before the first measurement (3) is not allowed.

Could u please tell me how to figure this out ?

Thanks a lot.
BW
Minshi

Brief description of the problem

# insert reprex here

Hi @Minshi-Lan,

Thanks for your interest in PKNCA.

When you do not have a time 0 concentration measurement, PKNCA does not impute the concentration without specific instructions on how to impute it. What you'll want is to use PKNCA_impute_method_start_conc0 as described in the imputation vignette: http://billdenney.github.io/pknca/articles/v08-data-imputation.html

Can you please let me know if that solves the issue for you? If not, I always want to improve the documentation, when confusing. Can you please let me know what is not clear in the vignette?

@Minshi-Lan, I'm not certain what you're expecting or how you're getting the results. If it's possible to share the code you're using, I'd be more able to help.

If you want the half-life, you will need to add it to the interval specification (the PKNCAdata() intervals argument). When you set PKNCA.set.summary(), you change how requested parameters are summarized, but you don't change what parameters are requested.

As for missing description argument, I'm not sure what you're looking at. When I ran ?PKNCA.set.summary in my R session, the description argument shows up in both the argument list and the example. (It's also in the reference website: http://billdenney.github.io/pknca/reference/PKNCA.set.summary.html .) Can you please share a screen shot of where it's missing.

@Minshi-Lan, also, I appreciate all questions. They have several benefits:

  1. They help me understand where the package is confusing to others. That can help me make it easier to use or to make the documentation better.
  2. They help others who don't ask questions (who definitely have the same questions) see the answers.
  3. They help show interest in the package by more people.

Please keep asking!

I have updated the quickstart vignette so that the PKNCA.set.summary() code works. I think that overall, you may find the theophylline example more interpretable for getting started: http://billdenney.github.io/pknca/articles/v02-example-theophylline.html