View source: R/helper-allelic.R
makeTx2Tss | R Documentation |
This helper function takes either a TxDb/EnsDb or
GRanges object as input and outputs a GRanges object
where transcripts are aggregated to the gene + TSS
(transcription start site). For nearby TSS that should
be grouped together, see maxgap
.
makeTx2Tss(x, maxgap = 0)
x |
either TxDb/EnsDb or GRanges object. The GRanges
object should have metadata columns |
maxgap |
integer, number of basepairs to use determining whether to combine nearby TSS |
GRanges with columns tx_id
, tss
, and
group_id
## Not run:
library(EnsDb.Hsapiens.v86)
edb <- EnsDb.Hsapiens.v86
t2t <- makeTx2Tss(edb)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.