Description Usage Arguments Value Examples
View source: R/util3_SplitCpGsSubregionsDataFrameToList.R
Split a dataframe of CpGs and comethylated subregions to a list of CpGs in each subregion
1 2 3 4 5 6 | SplitCpGDFbyRegion(
CpGsSubregions_df,
genome = c("hg19", "hg38"),
arrayType = c("450k", "EPIC"),
returnAllCpGs = TRUE
)
|
CpGsSubregions_df |
data frame with CpG and subregion number |
genome |
Human genome of reference hg19 or hg38 |
arrayType |
Type of array, 450k or EPIC |
returnAllCpGs |
indicates if outputting all the CpGs in the region when there is not a contiguous comethylated region or only the CpGs in the contiguous comethylated regions |
a list of comethylated subregions CpGs for a pre-defined region
1 2 3 4 5 6 7 8 9 | data(betaMatrix_ex4)
CpGs_df <- MarkComethylatedCpGs(betaCluster_mat = betaMatrix_ex4)
CpGsSubregions_df <- FindComethylatedRegions(CpGs_df)
SplitCpGDFbyRegion(
CpGsSubregions_df,
genome = "hg19",
arrayType = "450k"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.