gcell.rna.gene.Gene.get_tes_track#
- Gene.get_tes_track(track, upstream=1000, downstream=1000, **kwargs)[source]#
Get track data centered around the gene’s Transcription End Site (TES).
- Parameters:
- track
The track object to retrieve data from.
- upstream int, optional
Number of base pairs upstream of the TES to include. For ‘+’ strand genes, this extends before the TES (toward the gene body). For ‘-’ strand genes, this extends after the TES (away from the gene body). Defaults to 1000.
- downstream int, optional
Number of base pairs downstream of the TES to include. For ‘+’ strand genes, this extends after the TES (away from the gene body). For ‘-’ strand genes, this extends before the TES (toward the gene body). Defaults to 1000.
- **kwargs
Additional arguments passed to track.get_track.
- Returns:
Track or other return type from track.get_track