Learn R Programming

factorMerger (version 0.3.1)

plotSurvival: Survival plot (survival)

Description

Plots ggcoxadjustedcurves from the survminer package.

Usage

plotSurvival(factorMerger, color, clusterSplit, palette = NULL)

Arguments

factorMerger

object of a class factorMerger

color

Boolean. If TRUE, the default, there is added aesthetic group corresponding to the final cluster split.

clusterSplit

final cluster split definition. A list with two fields:

  • stat cluster statistic (available statistics are: "loglikelihood", "pvalue", "GIC"),

  • value cut threshold / GIC penalty

palette

custom palette