Entering edit mode
leonardsquall15
▴
10
@leonardsquall15-14462
Last seen 7.0 years ago
Hi,
I am looking to get the intron length per transcript using the package GenomicFeatures and a gff file.
This is what I got so far:
library(GenomicFeatures)
library(rtracklayer)
txdb <- makeTxDbFromGFF(file = "data.gff", format = "gff")
introns <- intronsByTranscript(txdb)
# mean, median all intron
i <- unlist(introns)
summary(width(i))
So I am able to get the length of all introns but not the length of combined intron per transcript.
Any help please ?
Thanks