Omics*
-class Object.show-OmicsPathway-method.Rd
The display method for objects of class OmicsPathway
,
OmicsSurv
, OmicsReg
, or OmicsCateg
.
# S4 method for OmicsPathway show(object)
object | An object inheriting the super-class |
---|
A copy of object
, returned invisibly (with the
invisible
function).
S4 objects print to the screen via the show
function. This function sets a show
method for OmicsPathway
objects.
### Load the Example Data ### data("colonSurv_df") data("colon_pathwayCollection") ### Create an OmicsSurv Object ### colon_OmicsSurv <- CreateOmics( assayData_df = colonSurv_df[, -(2:3)], pathwayCollection_ls = colon_pathwayCollection, response = colonSurv_df[, 1:3], respType = "surv" )#> #>#>#>#>#> #>#>#> #>### Print / Show ### colon_OmicsSurv#> Formal class 'OmicsSurv' [package "pathwayPCA"] with 6 slots #> ..@ eventTime : num [1:250] 64.9 59.8 62.4 54.5 46.3 ... #> ..@ eventObserved : logi [1:250] FALSE FALSE FALSE FALSE TRUE FALSE ... #> ..@ assayData_df :Classes 'tbl_df', 'tbl' and 'data.frame': 250 obs. of 656 variables: #> ..@ sampleIDs_char : chr [1:250] "subj1" "subj2" "subj3" "subj4" ... #> ..@ pathwayCollection :List of 3 #> .. ..- attr(*, "class")= chr [1:2] "pathwayCollection" "list" #> ..@ trimPathwayCollection:List of 4 #> .. ..- attr(*, "class")= chr [1:2] "pathwayCollection" "list"