gcell.dna.track.Track.plot_tracks

gcell.dna.track.Track.plot_tracks#

Track.plot_tracks(color_dict=None, gene_annot=None, genes_to_highlight=None, beds=None, out_file=None, center=False)[source]#

Plot the convolved tracks and optionally add gene annotations.

Parameters:
color_dict dict, optional

A dictionary mapping track labels to colors. Defaults to None.

gene_annot Gencode, optional

A GTF object containing gene annotations. Defaults to None.

genes_to_highlight list, optional

A list of gene names to highlight. Defaults to None.

beds list, optional

A list of BED objects containing regions to plot. Defaults to None.

out_file str, optional

The path to save the output plot. Defaults to None.