combineTranscripts: A helper for countReads function

Description Usage Arguments Value Examples

View source: R/combineTranscripts.R

Description

A function that helps combine all transcript exons coordinates

Usage

1
combineTranscripts(gList, dup, geneId = "")

Arguments

gList

A GRanges object that store new exon coordinates.

dup

A GRanges object of narrowed down reference coordinates of human genes. Only contain a target gene's protein coding exon.

geneId

A string of characters that stores the target Ensembl gene ID.

Value

A list of two GRanges ojects.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gRangesList <- GenomicRanges::GRanges()
referencesFile<- system.file("extdata", "example_refCoord.gff3",
package = "LSplicing")
refCoord <- rtracklayer::import(referencesFile)
gene <- "ENSG00000108788.11"

## Not run: 
combineTranscripts(gList = gRangesList,
                   dup = refCoord,
                   geneId = gene)

## End(Not run)

leetina4/LSplicing documentation built on Dec. 8, 2019, 1:34 p.m.