Package 'AdverseEvents'

Title: 'shiny' Application for Adverse Event Analysis of 'OnCore' Data
Description: An application for analysis of Adverse Events, as described in Chen, et al., (2023) <doi:10.3390/cancers15092521>. The required data for the application includes demographics, follow up, adverse event, drug administration and optional tumor measurement data. The app can produce swimmers plots of adverse events, Kaplan-Meier plots and Cox Proportional Hazards model results for the association of adverse event biomarkers and overall survival and progression free survival. The adverse event biomarkers include occurrence of grade 3, low grade (1-2), and treatment related adverse events. Plots and tables of results are downloadable.
Authors: Z Thompson [aut, cre], A Obermayer [aut], DT Chen [aut]
Maintainer: Z Thompson <[email protected]>
License: GPL-3
Version: 0.0.2
Built: 2024-10-29 03:30:57 UTC
Source: https://github.com/cran/AdverseEvents

Help Index


Convert RECIST response code

Description

Convert RECIST response code

Usage

resp_code_transform(
  data = NULL,
  response_col = NULL,
  new_col = response_col,
  key = c("1" = "Baseline (BL)", 
          "2" = "Not Evaluable (NE)",
          "3" = "Stable Disease (SD)",
          "4" = "Partial Response (PR)", 
          "5" = "Complete Response (CR)", 
          "6" = "Progressive Disease (PD)")
)

Arguments

data

A dataframe object that includes the column of interest to convert.

response_col

A string. The column name of the column to convert.

new_col

A string. The new column name of the converted response column. Defaults to original response column name.

key

A named vector key on how to convert the response IDs.

Value

Dataframe.

Examples

df <- data.frame(SampleID = c("A","B","C","D","E","F"),
Response = c("1","2","3","4","5","6"))
resp_code_transform(df,"Response", new_col = "Response_New")

Run Adverse Events App

Description

Run Adverse Events App

Usage

runAEapp(launch.browser = TRUE)

Arguments

launch.browser

Boolean logic to launch application in browser. Default to TRUE.

Value

An R Shiny Application.