exonsWithPseudoIntronsPerGroup: Get exons with pseudo introns per Group

exonsWithPseudoIntronsPerGroupR Documentation

Get exons with pseudo introns per Group

Description

If an intron is of length < 'width' * 2, it will not be split into pseudo.

Usage

exonsWithPseudoIntronsPerGroup(grl, width = 100)

Arguments

grl

a GrangesList of length 1

width

numeric, default 100. The size of pseudo flanks.

Value

a GRangesList

Examples

tx <- GRangesList(GRanges("1", IRanges(c(1, 150, 1e5, 1e6)), "+"))
exonsWithPseudoIntronsPerGroup(tx) # See intron 1 is not split
tx_2 <- rep(GRangesList(GRanges("1", IRanges(c(1, 150, 1e5, 1e6)), "+")), 2)
exonsWithPseudoIntronsPerGroup(tx_2)
tx_3 <- tx_2
names(tx_3) <- c("tx1", "tx2")
exonsWithPseudoIntronsPerGroup(tx_3, 1e6)

JokingHero/ORFik documentation built on June 9, 2025, 8:46 p.m.