bdgenomics.mango.pileup.track.tracks_to_json

bdgenomics.mango.pileup.track.tracks_to_json(pyTracks, manager)[source]

Serialize a Python date object. Attributes of this dictionary are to be passed to the JavaScript Date constructor.

Args:
param (List):List of Tracks
param (any):manager. Used for widget serialization.
Returns:
List of dict of Track elements (viz, source, sourceOptions and label)