INNER CODE UNIT · JavaScript

changeIso

sirius-ms/sirius · lcms2/viewer/viewer.js:96

function changeIso(evt) {
  let newVal = parseInt(evt.value);
  if (newVal != selectedIsotope) {
    selectedIsotope = newVal;
    refreshPlot();
  }
}

function refreshPlot() {
  refreshIsobuttons();
  show(document.lcdata[document.currentIndex]);
}
document.displayPlot = d3.select("#displayMerged").node().checked;
function changeMergeDisplay(evt) {
  document.displayPlot =evt.checked;
  d3.select("#parentPath").attr("opacity",document.displayPlot ? "100%" : "5%");
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…