plotSurv | R Documentation |
plot the survival Kaplan-Meier curve
plotSurv(os, name = "gene")
os |
overall survival tibble with High/Low groups formed |
name |
name of the gene/geneSet for the title, default is "gene" |
plotting object
os = dplyr::tibble(sample = letters[1:10], OS = 10:19, Vital.Status = c(rep("Alive",8),rep("Dead",2))) out = list("cutoff" = 0.44, "scores" = rnorm(10)) os["group"] = cut(os,out) plotSurv(os, "gene1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.