data.validate.patients: data.validate.patients

View source: R/process.R

data.validate.patientsR Documentation

data.validate.patients

Description

Validates mrna, outcome, and upstream data to ensure patients match.

Usage

data.validate.patients(mrna,outcome,data)

For each dataset the patient vector is assumed to be the rownames.

Arguments

mrna

:mrna data (follow convention of demo_mrna)

data

:list of other dataframes (follow demo conventions)

DEBUG

FALSE: flag to print debug statements

outcome:

outcome data (follow demo conventions)

Details

This function checks:

  • patients are unique in mrna

  • patients match across the list of datasets in data and mrna

  • patients in outcome are in mrna and data

A match across patient vector is defined as equivalent order and content.

Value

boolean: whether this set of iBAG data is valid for the patients only


cvraut/iBAGpkg documentation built on July 26, 2022, 9:55 p.m.