Partek Flow Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Kaplan-Meier task begins similar to the Cox regression task, then differs when selecting categorical attributes to define the compared groups. 

For each feature, the expression values are sorted in ascending order and placed into B bins of (roughly) equal size. As a result, a feature-specific categorical attribute with B levels is constructed which can be used by itself or in combination with other categorical attributes. For instance, for B = 2, we compute the median feature expression and the samples are separated into two groups, depending on whether the expression in the sample is below or above the median (Figure 1). The levels of thus created categorical attribute are automatically denoted by P_1, P_2, …, P_B. Here P stands for “percentile” and the higher the bin number the higher the feature expression of the samples in the bin.


Numbered figure captions
SubtitleTextSelecting categorical attributes to define compared groups
AnchorNamegroup factor KM

Each of the defined groups produces a survival curve.

For each group, the survival curve (aka survival function) is estimated using Kaplan-Meier estimator [1]. For instance, if one selects FactorA with three levels and two feature expression bins, six survival curves are displayed in Data Viewer, as shown below.

           Image Removed

 Log-rank and Wilcoxon p-values when feature expression is used. 


Numbered figure captions
SubtitleTextEach of the defined groups produces a survival curve
AnchorNamesurvival curve

Image Added

To see whether the survival curves are statistically different, Kaplan-Meier task runs Log-rank and Wilcoxon (aka Wilcoxon-Gehan) tests. The null hypothesis is that the survival curves do not differ among the groups (the computational details are available in [2]). When feature expression is used, the p-values are feature specific also, as seen below.          


Numbered figure captions
SubtitleTextLog-rank and Wilcoxon p-values when feature expression is used
AnchorNamestats

Image Modified

Choosing stratification factors

Like in Cox Regression task, it is possible to choose stratification factor(s) in GUI, but the purpose and meaning of stratification are not the same as in Cox Regression. Suppose we want to compare the survival among the six groups defined by the three levels FactorA and the two bins of feature expression. We can select the two factors on  “Select group factor(s)” page (Fig 1). In that case, the reported p-values will reflect the statistical difference among the six survival curves that are due to both FactorA and the feature expression. Imagine that our primary interest is the effect of feature expression on survival. Although FactorA can be important and therefore should be included in the model, we want to know whether the effect of feature expression is significant after the contribution of FactorA is taken into account. In other words, the goal is to treat FactorA as a nuisance factor and the binned feature expression as a factor of interest.

Grouping of survival curves by the level of a specified factor. In qualitative terms, it is possible to obtain an answer if we group the survival curves by the level of FactorA. In Data Viewer, that can be achieved via “Grouping > Split by” function (Fig 4). That makes it easy to compare the survival curves that have the same level of FactorA and avoid the comparison of curves across different levels of FactorA.          


Numbered figure captions
SubtitleTextGrouping of survival curves by the level of a specified factor
AnchorNamegrouping Survival curve

Image Modified

If in Fig 4 we see one or more subplot where the survival curves differ a lot, that is evidence that the feature expression affects the survival even after adjusting for the contribution of FactorA. To obtain an answer in terms of adjusted Log-rank and Wilcoxon p-values, one should deselect FactorA as a “group factor” (Fig 1) and mark it as a stratification factor instead (Fig 5). The computational of stratification adjusted p-values is elaborated in [2].

...