create_GRanges_class: Generates a GRanges object

View source: R/epi_plot.R

create_GRanges_classR Documentation

Generates a GRanges object

Description

This function makes a GRanges object from a GenomicRatioSet.

Usage

create_GRanges_class(methy, cpg_ids)

Arguments

methy

a GenomicRatioSet object containing the control and case samples used in epimutations or epimutations_one_leave_out function.

cpg_ids

a character string specifying the name of the CpGs in the DMR of interest.

Value

The function returns a GRanges object containing the beta values and the genomic ranges of the CpGs of interest.


isglobal-brge/EpiMutations documentation built on April 20, 2024, 9:05 a.m.