alphagenome.visualization.plot_transcripts.TranscriptStyle#

class alphagenome.visualization.plot_transcripts.TranscriptStyle(cds_height, utr_height, cds_color, utr5_color, utr3_color, first_noncoding_exon_color, label_color, xlim_pad)[source]#

Style specification for a transcript plot.

CDS = protein coding sequence. UTR = untranslated region.

cds_height#

CDS height.

utr_height#

UTR height.

cds_color#

CDS color.

utr5_color#

5’ UTR color.

utr3_color#

3’ UTR color.

first_noncoding_exon_color#

Color of the first non-coding exon. This helps to indicate transcript directionality.

label_color#

Label color.

xlim_pad#

Controls amount of whitespace on the region flanks.

Attributes#

Table

TranscriptStyle.cds_height: float#
TranscriptStyle.utr_height: float#
TranscriptStyle.cds_color: str#
TranscriptStyle.utr5_color: str#
TranscriptStyle.utr3_color: str#
TranscriptStyle.first_noncoding_exon_color: str#
TranscriptStyle.label_color: str#
TranscriptStyle.xlim_pad: float#

Methods#

Table