-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualize, use plotSpectraMirror function to draw spectrum matching results #744
Comments
To create a mirror plot for one particular query spectrum you can use: Generally, I would suggest to add a specific spectra variable to the query a # would be the index of a query spectrum
b # would be the index of the matched target spectrum
plotSpectraMirror(sample_msp[a], mona_spec_libno[b]) For your question regarding the difference in intensity: I would suggest to scale the intensities of the query and target spectra before plotting (or even before the sample_msp <- scalePeaks(sample_msp, by = sum)
mona_spec_libno <- scalePeaks(mona_spec_libno, by = sum) which will scale the intensities to a total sum of one per spectrum. |
I have now completed the Spectra match and got the results.
Now I want to use the
plotSpectraMirror
function to plot all these compounds, but I am not sure how to check that these matched spectra correspond to the two msps file.The index value of the file content. Is there any way I can find the respective index value?
The following is the content of my file
The text was updated successfully, but these errors were encountered: