dropNotCensored-SurvivalExperiment-method: Remove Censored Patients from A 'SurvivalExperiment' Object

Description Usage Arguments Details Value Examples

Description

Remove Censored Patients from A SurvivalExperiment Object

Usage

1
2
## S4 method for signature 'SurvivalExperiment'
dropNotCensored(object, minDaysSurvived = 365)

Arguments

object

A SurvivalExperiment to censor.

minDaysSurvived

An integer specifying the minimum number of days a patient needs to have survived to be included in the cohort.

Details

Censored means no event before end of measurement. Since we want not censored, we keep patients who had an event before minDaysSurvived. Therefore we keep individuals surviving > minDaysSurvived, or who had an event (died) before minDaysSurvived.

Value

The SurvivalExperiment with censored samples removed.

Examples

1
2

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.