Learn R Programming

SIGN (version 0.1.0)

EventRenaming: EventRenaming is a function for changing annotation of censored samples to 0 and dead samples to 1 for survival analysis

Description

EventRenaming is a function for changing annotation of censored samples to 0 and dead samples to 1 for survival analysis

Usage

EventRenaming(EventVec, Censored_Annot)

Arguments

EventVec

Status vector for all of the samples (patients) including both samples undergone an event or censored

Censored_Annot

Index of samples censored in the dataset

Value

Vector of events including 0 for censoring and 1 for death