View source: R/IdentifyMCB_parallel.R
IdentifyMCB_parallel | R Documentation |
This function is used to partition the genome into blocks of tightly co-methylated CpG sites,
Methylation correlated blocks parallelly. This function calculates Pearson correlation coefficients between
the beta values of any two CpGs < CorrelationThreshold was used to identify boundaries between any two
adjacent markers indicating uncorrelated methylation. Markers not separated by a boundary were combined into MCB.
Pearson correlation coefficients between two adjacent CpGs were calculated.
IdentifyMCB_parallel( MethylationProfile, method = c("pearson", "spearman", "kendall")[1], CorrelationThreshold = 0.8, PositionGap = 1000, platform = "Illumina Methylation 450K", verbose = T )
MethylationProfile |
Methylation matrix is used in the analysis. |
method |
method used for calculation of correlation, |
CorrelationThreshold |
coef correlation threshold is used for define boundaries. |
PositionGap |
CpG Gap between any two CpGs positioned CpG sites less than 1000 bp (default) will be calculated. |
platform |
This parameter indicates the platform used to produce the methlyation profile. You can use your own annotation file. |
verbose |
True as default, which will print the block information for each chromosome. |
Currently, only illumina 450k platform is supported, the methylation profile need to convert into matrix format.
Object of class list
with elements:
MCBsites | Character set contains all CpG sites in MCBs. |
MCBinformation | Matrix contains the information of results. |
Xin Yu
Xin Yu, De-Xin Kong, EnMCB: an R/bioconductor package for predicting disease progression based on methylation correlated blocks using ensemble models, Bioinformatics, 2021, btab415
data('demo_data',package = "EnMCB") #import the demo TCGA data with 10000+ CpGs site and 455 samples #remove # to run res<-IdentifyMCB_parallel(demo_data$realdata) demo_MCBinformation<-res$MCBinformation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.