FindComethylatedRegions: Find Contiguous Co-Methylated Regions

View source: R/FindComethylatedRegions.R

FindComethylatedRegionsR Documentation

Find Contiguous Co-Methylated Regions

Description

Find contiguous comethylated regions based on output file from function MarkComethylatedCpGs

Usage

FindComethylatedRegions(CpGs_df, minCpGs_int = 3)

Arguments

CpGs_df

an output dataframe from function MarkComethylatedCpGs, with variables: CpG, keep, ind, r_drop. See details in documentation for MarkComethylatedCpGs.

minCpGs_int

an integer indicating the minimum number of CpGs for output genomic regions

Value

A data frame with variables ProbeID and Subregion (index for each output contiguous comethylated region)

Examples

   data(betaMatrix_ex4)

   CpGs_df <- MarkComethylatedCpGs(betaCluster_mat = betaMatrix_ex4)

   FindComethylatedRegions(CpGs_df)


TransBioInfoLab/coMethDMR documentation built on Sept. 14, 2022, 7:09 p.m.