inactive_regions: Get background regions

Description Usage Arguments Value

View source: R/transcript_processing.R

Description

Gets a filtered candidate list of background regions to use for simulation

Usage

1
2
3
4
5
6
inactive_regions(
  tx,
  tx_buffer_length = 20000,
  min_length = 3000,
  keep_chromosomes = NULL
)

Arguments

tx

A GRanges-class or TxDb-class

tx_buffer_length

length of exclued region between inactive region and closest transcript (default 40kb; strand agnostic).

min_length

minimum length of candidate inactive region (default 3kb)

keep_chromosomes

a character vector of chromosomes to select candidate transcripts from. Defaults to all chromsomes in tx object

Value

A list of vectors with each one corresponding to one set of bins and each element of a vector corresponding to a bin


CshlSiepelLab/nascentRNASim documentation built on Dec. 17, 2021, 3:08 p.m.