Skip to content

Commit

Permalink
change default wig track window function to "mean" for bigwig tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Oct 6, 2023
1 parent 084b42d commit 3d0e0cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/feature/wigTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ class WigTrack extends TrackBase {
} else if ("bigwig" === format) {
this.featureSource = new BWSource(config, this.browser.genome)
this.resolutionAware = true
this.windowFunction = config.windowFunction || 'mean'
} else if ("tdf" === format) {
this.featureSource = new TDFSource(config, this.browser.genome)
this.resolutionAware = true
this.windowFunction = config.windowFunction || 'mean'
} else {
this.featureSource = FeatureSource(config, this.browser.genome)
this.resolutionAware = false
Expand Down

0 comments on commit 3d0e0cd

Please sign in to comment.