meta-methods.Rd
Retrieve the metadata from a SIAMCAT object
meta(siamcat)
# S4 method for siamcat
meta(siamcat)
# S4 method for sample_data
meta(siamcat)
(Required). A siamcat-class object
The metadata as sample_data-class object
This function will retrieve the metadata from a SIAMCAT object. The metadata is a object of the sample_data-class.
data(siamcat_example)
temp <- meta(siamcat_example)
head(temp)
#> Age BMI Gender AJCC_stage FOBT
#> CCIS27304052ST-3-0 52 20 F -1 Negative
#> CCIS15794887ST-4-0 37 18 F -1 Negative
#> CCIS74726977ST-3-0 66 24 M -1 Negative
#> CCIS16561622ST-4-0 54 26 M -1 Negative
#> CCIS79210440ST-3-0 65 30 M -1 Positive
#> CCIS82507866ST-3-0 57 24 M -1 Negative