Description Usage Format Source Examples
Breat and Ovarian cancers survival information from the RTCGA.clinical R/Bioconductor package.http://rtcga.github.io/RTCGA/.
1 | data("BRCAOV.survInfo")
|
A data frame with 1674 rows and 4 columns.
1 2 3 4 5 6 |
From the RTCGA.clinical R/Bioconductor package. The data is generated as follow:
1 2 3 4 5 6 7 8 | # Installing RTCGA.clinical
source("https://bioconductor.org/biocLite.R")
biocLite("RTCGA.clinical")
# Generating the BRCAOV survival information
library(RTCGA.clinical)
survivalTCGA(BRCA.clinical, OV.clinical,
extract.cols = "admin.disease_code") -> BRCAOV.survInfo
|
1 2 3 4 5 | data(BRCAOV.survInfo)
library(survival)
fit <- survfit(Surv(times, patient.vital_status) ~ admin.disease_code,
data = BRCAOV.survInfo)
ggsurvplot(fit, data = BRCAOV.survInfo, risk.table = TRUE)
|
Loading required package: ggplot2
Loading required package: ggpubr
Loading required package: magrittr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.