Description Usage Arguments Details Value Author(s) References See Also Examples
Infer differentially methylated CpG sites with the consideration of tumor purities.
1 | InfiniumDMC(tumor.data,normal.data,purity,threshold)
|
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. |
threshold |
probability threshold in control-free DM calling. Default is 0.1. |
If normal.data is provided, the function tests each CpG site for differential methylation between tumor and normal samples with the consideration of tumor purities by a generalized linear regression. If normal.data is not provided, the function computes posterior probability to rank CpG sites.
A data frame of statistics, p-values and q-values for all CpG sites.
Xiaoqi Zheng xqzheng@shnu.edu.cn.
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, in revision.
dmpFinder
in the minfi package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## 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 = normal.data)
## DM calling with normal controls
DMC = InfiniumDMC(tumor.data = tumor.data,normal.data = normal.data,purity = purity)
## DM calling without normal control
DMC_ctlFree = InfiniumDMC(tumor.data = tumor.data,purity = purity)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.