proteomicspData: A function to extract a dataframe of phenotypic information...

Description Usage Arguments Value Author(s) Examples

Description

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.

Usage

1

Arguments

Data

is an object of aclinicalProteomicsData class.

...

means other defined arguments. Currently, we have not defined additional arguments.

Value

Returns a dataframe with variables having defined classes.

Author(s)

S Nyangoma

Examples

 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))

clippda documentation built on Nov. 8, 2020, 8:13 p.m.