Skip to content

The survdigitzerR digitizes published KM curves and extracts survival times and events to be used as input to a digitization algorithm to generate pseudo individual patient level data. The survdigitzeR package is currently under development.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Pechli-Lab/SurvdigitizeR

Repository files navigation

SurvdigitizeR

The survdigitzerR package takes as input JPEG or PNG kaplan-meier curves and provides time of events. Time of events can be used as input to generate pseudo patient level data that resembles the data used to generate the kaplan-meier curve. The survdigitzeR package is currently under development.

Installation

You can install the released version of SurvdigitizeR from github.

# Install development version from GitHub
devtools::install_github("Pechli-Lab/SurvdigitizeR")

Or by opening the folder encompassing this project.

library(devtools)
install()

Example

This is a basic example digitizing the survival curve found in the vignettes folder.

library(SurvdigitizeR)
library(here)

survival_digitize(img_path = here("vignettes","KMcurve.png"),
                                  num_curves = 2,
                                  x_start = 0,
                                  x_end = 10,
                                  x_increment = 1,
                                  y_start = 0,
                                  y_end = 1,
                                  y_increment = 0.25,
                                  y_text_vertical =  T,
                                  censoring = F)

This R package was developed with the support of CADTH.

About

The survdigitzerR digitizes published KM curves and extracts survival times and events to be used as input to a digitization algorithm to generate pseudo individual patient level data. The survdigitzeR package is currently under development.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages