check_vectors {GSSTDA}R Documentation

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,
  control_tag,
  na.rm = TRUE
)

Arguments

full_data

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

survival_time

Time between disease diagnosis and event (if there was no event until the end of follow-up).

survival_event

logical. Whether or not the event has occurred.

case_tag

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

control_tag

Tag of the healthy sample.E.g. "T"

na.rm

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

Value

control_tag Return the tag of the healthy sample.


[Package GSSTDA version 1.0.0 Index]