resizeGRangesTranscripts: Resize 5' and 3' ends of a transcript GenomicRanges

Description Usage Arguments Value Examples

View source: R/resizeGRangesTranscripts.R

Description

Resize 5' and 3' ends of a transcript GenomicRanges

Usage

1
resizeGRangesTranscripts(GRanges, start = 0, end = 0)

Arguments

GRanges

GenomicRanges object containing exon coordinates from a transcript

start

Length to append from the start of transcript

end

Length to append from the end of transcript

Value

Appended GenomicRanges object

Examples

1
2
3
4
5
6
gr1 <- GRanges(seqnames = "chr1", strand = c("+", "+", "+"),
ranges = IRanges(start = c(1,500,1000), 
end = c(100,600,1100)))

resizeGRangesTranscripts(gr1, 20,80)
resizeGRangesTranscripts(gr1, 110,150)

fursham-h/ponder documentation built on Dec. 27, 2019, 12:15 a.m.