rlRegionTest {RLSeq}R Documentation

R-Loop region test

Description

Tests the overlap of user-supplied ranges with R-loop regions (RL regions).

Usage

rlRegionTest(object)

Arguments

object

An RLRanges object with genome "hg38".

Details

R-loop regions (RL regions) are consensus sites of R-loop formation. For more information, see RLHub::rlregions. The rlRegionTest is a simple function which finds the overlap of user-supplied samples with RL regions and calculates Fisher's exact test via valr::bed_fisher.

Value

An RLRanges object with test results accessible via rlresult(object, "rlRegionRes").

Structure

The structure of the results is a named list containing the following:

Examples


# Example RLRanges data
rlr <- readRDS(system.file("extdata", "rlrsmall.rds", package = "RLSeq"))

# RL Region Test
rlRegionTest(rlr)

[Package RLSeq version 0.99.11 Index]