def __init__(self, aggregate, *args, **kwargs):
        """
        Represents an Aggregate or Overlay track. Subclasses :class:`Track`,
        adds some extras.

        Aggregate tracks allow closley related tracks to be viewed as a single
        track.

        Eventually, you'll need to make a :class:`trackdb.TrackDb` instance and
        add this aggregate track to it with that instance's :meth:`add_tracks`
        method.

        Parameters
        ----------

        aggregate : str
            Aggregate type. One of "transparentOverlay", "stacked",
            "solidOverlay". See
            https://genome.ucsc.edu/goldenpath/help/trackDb/trackDbHub.html#aggregate
            for details.


        See :class:`BaseTrack` for details on other arguments.
        """

        self.aggregate = aggregate
        kwargs['aggregate'] = aggregate
        super(AggregateTrack, self).__init__(*args, **kwargs)
        self.specific_params.update(constants.aggregate_track_fields)
        self.subtracks = []
def __init__ ( self , aggregate , * args , ** kwargs ) : self . aggregate = aggregate kwargs [ 'aggregate' ] = aggregate super ( AggregateTrack , self ) . __init__ ( * args , ** kwargs ) self . specific_params . update ( constants . aggregate_track_fields ) self . subtracks = [ ]
Represents an Aggregate or Overlay track. Subclasses :class:`Track`,
        adds some extras.

        Aggregate tracks allow closley related tracks to be viewed as a single
        track.

        Eventually, you'll need to make a :class:`trackdb.TrackDb` instance and
        add this aggregate track to it with that instance's :meth:`add_tracks`
        method.

        Parameters
        ----------

        aggregate : str
            Aggregate type. One of "transparentOverlay", "stacked",
            "solidOverlay". See
            https://genome.ucsc.edu/goldenpath/help/trackDb/trackDbHub.html#aggregate
            for details.


        See :class:`BaseTrack` for details on other arguments.