Learn R Programming

GSSTDA (version 0.1.3)

check_vectors: check_vectors

Description

Checking the survival_time, survival_event and case_tag introduces in the GSSTDA object.

Usage

check_vectors(full_data, survival_time, survival_event, case_tag, na.rm = TRUE)

Value

control_tag Return the tag of the healthy patient

Arguments

full_data

The genes of the full_data (maybe remove by na.rm = TRUE)

survival_time

Time between disease diagnosis and death (if not dead until the end of follow-up).

survival_event

logical. Whether the patient has died or not.

case_tag

The tag of the healthy patient (healthy or not).

na.rm

logical. If TRUE, NA rows are omitted. If FALSE, an error occurs in case of NA rows.