Description Usage Arguments Value Author(s) Examples
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.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ########################################
##### 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.