BEclearData: Example data set for the BEclear-package

Description Usage Format Value References Examples

Description

Example data needed to run all examples contained in the documentation files of the BEclear-package

Usage

1

Format

Contains a data matrix and a samples data frame which can be used to run the examples of the BEclear package.

ex.data

An example data matrix that is filled with beta values originally stemming from breast cancer data from the TCGA portal [1], colnames are sample ids, rownames are gene names. Generally, beta values are claculated by dividing the methylated signal by the sum of the unmethylated and methylated signals from a DNA methylation microrarray. The sample data used here contains averaged beta values of probes that belong to promoter regions of single genes. Another possibility would be to use beta values of single probes, whereby the probe names should then be used instead of the gene names as rownames of the matrix.

ex.samples

An example data frame containing a column for the sample id and a column for the corresponding batch id.

Value

A data frame (ex.samples) and a matrix (ex.data)

References

[1] http://cancergenome.nih.gov/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
data(BEclearData)

## Whole procedure that has to be done to make a prediction using the BEclear
## function

# Calculate median difference values and p-values
meds <- calcMedians(data=ex.data, samples=ex.samples)
pvals <- calcPvalues(data=ex.data, samples=ex.samples)

# Summarize p-values and median differences for batch affected genes
sum <- calcSummary(medians=meds, pvalues=pvals)

# Set entries defined by the summary to NA
clearedMatrix <- clearBEgenes(data=ex.data, samples=ex.samples, summary=sum)

# Predict the missing entries with standard parameters
predicted <- BEclear(data=clearedMatrix) 

## End(Not run)

BEclear documentation built on Nov. 17, 2017, 10:39 a.m.