prepare_reference: Prepare referemce as GRanges

View source: R/prepare_reference.R

prepare_referenceR Documentation

Prepare referemce as GRanges

Description

Prepare referemce as GRanges

Usage

prepare_reference(
  reference,
  max_elements = NULL,
  remove_empty = TRUE,
  as_list = TRUE,
  as_grangeslist = FALSE
)

Arguments

reference

A named list of GRanges objects, or a single GRanges object to be converted into a named list.

max_elements

Max number of elements to use within the list. Set to NULL (default) to use all elements.

remove_empty

Remove any empty elements in the list.

as_list

Return as a list.

as_grangeslist

Return as a GRangesList (overrides as_list).

Value

A list of GRanges objects


neurogenomics/EpiCompare documentation built on Oct. 18, 2024, 11:04 p.m.