modify_tx: Modify transcript by introducing splice junctions

View source: R/modify_tx.R

modify_txR Documentation

Modify transcript by introducing splice junctions

Description

Modify transcript by introducing splice junctions

Usage

modify_tx(tx, jx)

Arguments

tx

transcripts a named GRangesList with transcripts defined as GRanges of exons.

jx

splice junctions as GRanges objects with the same length as tx.

Value

a GRangesList with altered transcripts.

Examples

tx <- GenomicRanges::GRangesList(
  list(GenomicRanges::GRanges(c(
     "1:2-3:+",
     "1:5-6:+",
     "1:10-15:+"
  )))
)

jx <- GenomicRanges::GRanges(c("1:3-10:+"))

modify_tx(tx, jx)


TRON-Bioinformatics/splice2neo documentation built on Nov. 9, 2024, 5:28 p.m.