ValidOmicsSurv.Rd
These functions check the validity of new objects created in
the OmicsSurv
, OmicsReg
, and OmicsCateg
classes.
ValidOmicsSurv(object) ValidOmicsReg(object) ValidOmicsCateg(object)
object | An object potentially of class |
---|
TRUE
if the object is a valid object, else an error message
with the rule broken.
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.
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).
Valid OmicsReg
and OmicsCateg
objects with have one response
vector of continuous (numeric
) or categorial (factor
)
observations, respectively.