Get the TSS positions from a set of genomic ranges containing gene positions. Ranges can contain exons, introns, UTRs, etc, rather than the whole transcript. Only protein coding gene biotypes are included in output.

GetTSSPositions(ranges, biotypes = "protein_coding")

Arguments

ranges

A GRanges object containing gene annotations.

biotypes

Gene biotypes to include. If NULL, use all biotypes in the supplied gene annotation.