.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_overlaying_bigwigs.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_overlaying_bigwigs.py: ======================== Overlaying BigWig Tracks ======================== Create a :class:`~pygv.tracks.bigwig_track.OverlayingTrack` to show signals from multiple BigWig files within a single track. .. GENERATED FROM PYTHON SOURCE LINES 9-18 .. image-sg:: /auto_examples/images/sphx_glr_plot_overlaying_bigwigs_001.png :alt: chr19 :srcset: /auto_examples/images/sphx_glr_plot_overlaying_bigwigs_001.png, /auto_examples/images/sphx_glr_plot_overlaying_bigwigs_001_2_00x.png 2.00x :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none [] | .. code-block:: Python from pygv.viewer import GenomeViewer from pygv.tracks.bigwig_track import OverlayingTrack gv = GenomeViewer() track = OverlayingTrack( ("../examples/data/K562_H3K27ac_ENCFF779QTH.chr19.bigWig", "../examples/data/K562_DNase_hg38_ENCFF413AHU.chr19.bigWig",), labels=("H3K27ac", "DNase", )) gv.add_track(track) gv.plot("chr19", 13232024, 13237758) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.102 seconds) .. _sphx_glr_download_auto_examples_plot_overlaying_bigwigs.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_overlaying_bigwigs.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_overlaying_bigwigs.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_overlaying_bigwigs.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_