Implemented imzml and mzml lazy loading, imzml to load spectra matrix, working on mzml to imzml

This commit is contained in:
Pixelguy14
2025-09-25 10:42:33 -06:00
parent 710c74a6c4
commit b1d7838a60
17 changed files with 2547 additions and 46 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ function meanSpectrumPlot(mzmlRoute::String)
xSpectraMz=spectraMz[1,1]
ySpectraMz=spectraMz[2,1]
end
trace=PlotlyBase.scatter(x=xSpectraMz, y=ySpectraMz, mode="lines")
trace=PlotlyBase.stem(x=xSpectraMz, y=ySpectraMz,marker=attr(size=1, color="blue", opacity=0.1))
plotdata=[trace] # We add the data from spectra to the plot
plotlayout=layout
return plotdata, plotlayout, xSpectraMz, ySpectraMz