fetch_pkpd: Query Generable API for pkpd data in a standard format...

View source: R/utils_pkpd.R

fetch_pkpdR Documentation

Query Generable API for pkpd data in a standard format (biomarkers data and dosing data, merged) returns a data.frame suitable for plotting and analysis.

Description

Query Generable API for pkpd data in a standard format (biomarkers data and dosing data, merged) returns a data.frame suitable for plotting and analysis.

Usage

fetch_pkpd(
  project = NULL,
  project_version_id = NULL,
  pd_measure = NULL,
  pk_measure = "concentration"
)

Arguments

project

(chr) Name of project to return data for

project_version_id

(chr) Optionally, a specific version of project data to return, if not the most recent

pd_measure

measurement_name of PD measurement (defaults to NULL - no PD marker)

pk_measure

measurement_name of PK measurement (defaults to 'conc', NULL indicates no PK marker)

Value

data.frame containing merged biomarker & dose data for the PK & PD parameter selected, with columns annotating cycles, time since last SDA, and measurement type.


generable/rgeco documentation built on Oct. 16, 2024, 2:45 a.m.