ValidOmicsSurv: Check validity of new Omics*-class objects

Description Usage Arguments Details Value OmicsSurv OmicsReg and OmicsCateg

View source: R/createClass_validOmics.R

Description

These functions check the validity of new objects created in the OmicsSurv, OmicsReg, and OmicsCateg classes.

Usage

1
2
3
4
5

Arguments

object

An object potentially of class OmicsSurv, OmicsReg, or OmicsCateg.

Details

We have currently written checks to make sure the dimensions of the mass spectrometry or bio-assay data frame and response matrices or vectors match. Other checks should be added in response to user feedback during or after beta testing. ENHANCEMENT.

Value

TRUE if the object is a valid object, else an error message with the rule broken.

OmicsSurv

Valid OmicsSurv objects will have two response vectors: a vector of the most recently recorded follow-up times and a logical vector if that time marks a death or event (TRUE: observed event; FALSE: right-censored observation).

OmicsReg and OmicsCateg

Valid OmicsReg and OmicsCateg objects with have one response vector of continuous (numeric) or categorial (factor) observations, respectively.


pathwayPCA documentation built on Dec. 15, 2020, 6:14 p.m.