This method accepts either arrays of named objects, or a named object of arrays. It allows for the application of transformations as indicated by this example
Finally, the code required to create a new Data Source has been streamlined. There is now the
LocusZoom.Data.Source.extend()
function which takes a constructor (and an optional unique ID for serialization) and sets up all the prototypes correctly for the object. There is now also a default parseResponse() method that takes care of copying over names with the proper namespace and applying transformations. This should make it much easier to create custom data sources.
This request adds some new features to the data sources for the API.
First, it incorporates the new Recombination Rate API endpoint. On the demo page, this data can be accessed via
Secondly, there is now a data class for Static data. You can add static sources like this
and then retrieve the data with
This method accepts either arrays of named objects, or a named object of arrays. It allows for the application of transformations as indicated by this example
Finally, the code required to create a new Data Source has been streamlined. There is now the
function which takes a constructor (and an optional unique ID for serialization) and sets up all the prototypes correctly for the object. There is now also a default
parseResponse()
method that takes care of copying over names with the proper namespace and applying transformations. This should make it much easier to create custom data sources.