gffTrimTranscripts | R Documentation |
Trims transcripts in annotation data.frames of gtf or gff format.
gffTrimTranscripts(gff, maxLength = 100, start = TRUE)
gffTrimSingleTranscript(gffSingle, maxLength = 100, start = TRUE)
gff |
an annotation data.frame in gtf or gff format. |
maxLength |
an integer specifying the maximum length of transcripts after trimming. |
start |
a logical indicating the start direction of each transcript to be trimmed. |
gffSingle |
the annotation information for a single transcript. |
Returns
gffTrimSingleTranscript
: Trims a single transcript according to maxLength
and in reversed order depending on the strand (+ / -).
Rehrauer, Hubert
Schmid, Peter
param = ezParam()
gtf = ezLoadFeatures(param, system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE))
gtfTrimmed = gffTrimTranscripts(gtf[gtf$type == "exon", ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.