prepTumorVol: Get all tumor volume types.

Description Usage Arguments Details Value Examples

Description

Get all tumor volume types.

Usage

1
prepTumorVol(volumes)

Arguments

volumes

a dataframe containing tumor measurement events acrosss patients, see Details

Details

volumes contains tumor measurement events as rows and at least the following columns:

Tumor volume types are:

Value

volumes dataframe, with additional columns for each type of tumor volume information, see Details

Examples

 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

novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.