proteomicspData {clippda} | R Documentation |
This function takes an object of aclinicalProteomicsData
class,
extracts a matrix of phenotypic data, and converts it to a dataframe with
with variables having defined classes.
proteomicspData(Data, ...)
Data |
is an object of |
... |
means other defined arguments. Currently, we have not defined additional arguments. |
Returns a dataframe with variables having defined classes.
S Nyangoma
######################################## ##### the data ######################################## data(liverdata) data(liver_pheno) OBJECT=new("aclinicalProteomicsData") OBJECT@rawSELDIdata=as.matrix(liverdata) OBJECT@covariates=c("tumor" , "sex") OBJECT@phenotypicData=as.matrix(liver_pheno) OBJECT@variableClass=c('numeric','factor','factor') OBJECT@no.peaks=53 head(proteomicspData(OBJECT))