filter_annotations: Filter annotations

Description Usage Arguments Value

View source: R/transcript_processing.R

Description

Gets a filtered candidate list of transcripts to use for simulation

Usage

1
2
3
4
5
6
7
filter_annotations(
  tx,
  min_distance = 20000,
  min_length = 3000,
  keep_chromosomes = NULL,
  keep_tx_biotype = NULL
)

Arguments

tx

A GRanges-class or TxDb-class

min_distance

minimum distance between candidate transcript and closest transcript (strand agnostic).

min_length

minimum length of candidate transcript

keep_chromosomes

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

keep_tx_biotype

a character vector of transcript types to select candidate transcripts from. Defaults to all types.

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.