Description
Hello jorainer,
First of all many thanks for this utterly great and comprehensible tutorial and of course all the wonderful work hidden in the Spectra
package.
I would like to ask some questions about it:
1.) Could function compareSpectra()
always return type matrix (array)
?. This would it ease up the determination of best_match in case of length(mbank_sub) == 1
or length(sps_sub) == 1
.
Implicetely I would suggest to introduce a drop = F argument in the return statement of the function for clarity so as to have the individual correct row and col indicees for the respective matching partners (indicess db_sub & sps_sub) ...
2.) As there is also an equivalent for the SQL version of MassBank, namely MONA in https://github.com/computational-metabolomics/msp2db/releases/tag/v0.0.14-mona-23042021
would it be possible to have that included in the turial? Alternatively a tutorial section on how to compare against .msp databases (MsBackendMsp)) would be great.
3.) Any hint on parallelisation would be helpful, especially in case for parallel db-connections when several hundreds of features should be compared.
many thanks
kind regards
Tony