InfiniumPurify: Purify tumor methylomes caused by normal cell contamination.

Description Usage Arguments Details Value Author(s) References Examples

Description

Deconvolute purified tumor methylomes accounting for tumor purity.

Usage

1
InfiniumPurify(tumor.data,normal.data,purity)

Arguments

tumor.data

numeric matrix of beta values for tumor samlpes. The rownames of tumor.data should be probe names of Infinium 450k array, and colnames should be names of tumor samples.

normal.data

numeric matrix of beta values for normal samlpes. The rownames of normal.data should be probe names of Infinium 450k array, and colnames should be names of normal samples.

purity

purities for tumor samples. Could be estimated by getPurity, or user specified purities from other tools.

Details

The function deconvolutes purified tumor methylomes by a linear regression model.

Value

A matrix of purified beta values for all CpG sites (row) and tumor samples (column).

Author(s)

Xiaoqi Zheng xqzheng@shnu.edu.cn.

References

X. Zheng, N. Zhang, H.J. Wu and H. Wu, Estimating and accounting for tumor purity in the analysis of DNA methylation data from cancer studies. Genome biology, accepted.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## load example data
data(beta.emp)

normal.data <- beta.emp[,1:21]
tumor.data <- beta.emp[,22:61]

## estimate tumor purity
purity <- getPurity(tumor.data = tumor.data,normal.data = NULL,tumor.type= "LUAD")

## correct tumor methylome by tumor purity
tumor.purified = InfiniumPurify(tumor.data = tumor.data[1:100,],
                                normal.data = normal.data[1:100,],
                                purity = purity)

InfiniumPurify documentation built on May 1, 2019, 9:23 p.m.