Description Usage Arguments Details Value Examples
Get all tumor volume types.
1 | prepTumorVol(volumes)
|
volumes |
a dataframe containing tumor measurement events acrosss patients, see Details |
volumes
contains tumor measurement events as rows and at least the following columns:
iois = patient id, char
agent_detail = event attribute, i.e., measured tumor volume in mm3 char
startdate = event start date in the format 'YYYY-MM-DD', char
eventName = event name, char
Tumor volume types are:
volume = volume in original measured units (e.g., mm^3)
baseline size = earliest tumor volume observed in a patient
percent change = (Volume_{current} - Volume_{previous})/Volume_{previous}
rate change = (Volume_{current} - Volume_{previous})/(DaysSinceBaseline_{current} - DaysSinceBaseline_{previous})
volumes
dataframe, with additional columns for each type of tumor volume information, see Details
1 2 3 4 5 6 7 8 9 10 11 | data("fake_data")
fake_demo <- fake_data$demo
fake_tumorInfo <- fake_data$events
# by default eventName is the volumetric response critera
# will get all types eventually
fake_data$events <- cleanData(fake_data$events)
# keep tumor volume only
fake_data$events <- fake_data$events[fake_data$events$agent=='measurement',]
fake_data$events <- prepTumorVol(fake_data$events) # get all tumor vol types
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.