gcell.rna.gene.GeneExp.get_tes_track_obj

gcell.rna.gene.GeneExp.get_tes_track_obj#

GeneExp.get_tes_track_obj(track, upstream=1000, downstream=1000, **kwargs)[source]#

Get Track object 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_obj.

Return type:

Track

Returns:

Track Track object for the TES region.