extractAUCXtab: FOR INTERNAL USE ONLY: Extract PK data from a generic AUC...

View source: R/extractAUCXtab.R

extractAUCXtabR Documentation

FOR INTERNAL USE ONLY: Extract PK data from a generic AUC tab, e.g., NOT one formatted like the "AUC" tab from Simcyp V21 and earlier

Description

FOR INTERNAL USE ONLY: Extract PK data from a generic AUC tab, e.g., NOT one formatted like the "AUC" tab from Simcyp V21 and earlier

Usage

extractAUCXtab(
  PKparameters,
  PKparameters_orig,
  compoundToExtract = "substrate",
  sim_data_file,
  Sheet,
  PKset,
  UserSpecified,
  Deets,
  DataCheck,
  includeTrialInfo
)

Arguments

PKparameters

parameters to extract; character vector only (a set of parameters like in extractPK is not acceptable here)

PKparameters_orig

original PK parameters from extractPK function

compoundToExtract

For which compound do you want to extract PK data? Options are:

  • "substrate" (default),

  • "primary metabolite 1",

  • "primary metabolite 2",

  • "secondary metabolite",

  • "inhibitor 1" – this can be an inducer, inhibitor, activator, or suppresesor, but it's labeled as "Inhibitor 1" in the simulator,

  • "inhibitor 2" for the 2nd inhibitor listed in the simulation,

  • "inhibitor 1 metabolite" for the primary metabolite of inhibitor 1

sim_data_file

simulator output Excel file to read

Sheet

sheet to read from the Excel file

PKset

which set of PK parameters to use. Options: AUC0, AUClast, AUCX

UserSpecified

TRUE or FALSE for whether this was a user-specified sheet, in which case we don't know which dose it is

Deets

output from running extractExpDetails on the provided sim_data_file and setting Deets <- existing_exp_details$MainDetails

DataCheck

DataCheck data.frame

includeTrialInfo

TRUE or FALSE

Value

a list for use with the extractPK function

Examples

# none


shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.