makeTx2Tss.Rd
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)
GRanges with columns tx_id
, tss
, and
group_id
if (FALSE) { # \dontrun{
library(EnsDb.Hsapiens.v86)
edb <- EnsDb.Hsapiens.v86
t2t <- makeTx2Tss(edb)
} # }