New setting "barChartStretchToItem on" for bigBarCharts

Skip to first unread message

Brian Lee

Feb 15, 2022, 12:16:11 PM2/15/22

There is a new setting to expand the view of bar graphs in track hubs and custom tracks.  When using the bigBarChart format,, vertical rectangles allow designating a value for multiple sources in a region, often a gene, such as RNA-seq in multiple cell types. For instance, the bigBarChart format is featured heavily in a recent release of new Single Cell RNA-seq data on hg38:

To aid in customizing the display of the bigBarChart format a new setting "barChartStretchToItem on" extends the barCharts to cover the entire horizontal space available in the graph:

Here is an example of the new setting using a custom track shared on the help page for bigBarChart:

track type=bigBarChart barChartStretchToItem=on name="bigBarChart Example One" description="A bigBarChart file" barChartBars="adiposeSubcut breastMamTissue colonTransverse muscleSkeletal wholeBlood" visibility=pack bigDataUrl=
browser position chr14:95,081,796-95,436,280

Here is an image difference, where the top track is using the new barChartStretchToItem=on setting, while the lower track is using the default display. 


Reply all
Reply to author
0 new messages