add_pseudo_5utrs_txdb_if_needed: add_pseudo_5utrs_txdb_if_needed

View source: R/txdbHelpers.R

add_pseudo_5utrs_txdb_if_neededR Documentation

add_pseudo_5utrs_txdb_if_needed

Description

add_pseudo_5utrs_txdb_if_needed

Usage

add_pseudo_5utrs_txdb_if_needed(
  txdb,
  pseudo_5UTRS_if_needed = NULL,
  minimum_5UTR_percentage = 30
)

Arguments

txdb

a TxDb object

pseudo_5UTRS_if_needed

integer, default NULL. If defined > 0, will add pseudo 5' UTRs if 'minimum_5UTR_percentage" (default 30 mRNAs (coding transcripts) do not have a leader. (NULL and 0 are both the ignore command)

minimum_5UTR_percentage

numeric, default 30. What minimum percentage of mRNAs most have a 5' UTRs (leaders), to not do the pseudo_UTR addition. If percentage is higher it addition is ignored, set to 101 to always do it.

Value

txdb (new txdb if it was done, old if not)


Roleren/ORFik documentation built on Nov. 13, 2024, 10 p.m.