groupGff | R Documentation |
Groups annotation according to the grouping
factor. Duplicated values are dropped and the function checks for transspliced elements.
groupGff(
gtf,
grouping = gtf$Parent,
type = "transcript",
skipTransSpliced = FALSE
)
gffGroupToRanges(gtf, grouping, skipTransSpliced = FALSE)
gtf |
the annotation data.frame to group. |
grouping |
a vector of the annotation data.frame to group it by. |
type |
a character representing the new |
skipTransSpliced |
a logical indicating whether to skip transspliced elements if they exist. |
Returns a grouped annotation data.frame.
gffGroupToRanges()
: Groups annotation and returns a GRanges object from the grouped annotation.
Rehrauer, Hubert
Schmid, Peter
GRanges
param = ezParam()
gtf = ezLoadFeatures(param, system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE))
groupedGtf = groupGff(gtf)
gffGroupToRanges(gtf, grouping = gtf$Parent)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.