From: Mitch S. <mit...@be...> - 2009-09-29 22:00:09
|
Louis Letourneau wrote: > How would one go about creating a track which contains a 2D dot plot of > data like log r ratios or b allele frequencies. > > These go from 0 to 1 and I would have 1 per snp in a dataset. > So you want to have a 2D plot associated with each feature in a dataset, right? I think it would take some work. You should be able to do this once we implement per-feature callbacks in FeatureTrack, like we've been discussing on the mailing list today in the "Using multiple glyphs per track" thread. Then in one of those callbacks you can associate a 2D plot image (which you would probably have to generate yourself; there's nothing currently in JBrowse that will do this) with the feature. And we'd have to implement a way for your callback to tell the FeatureTrack code about the size and placement of the plot so that it can be laid out properly. So the ability to do this is a little way in the future (a few weeks maybe?). And you would probably have to do some coding of your own to generate the plots and integrate them into the JBrowse view, although arguably JBrowse should build in some of this functionality. Are there genome browsers that currently do this, that we could look at as models? Mitch |