Skip to content

Commit

Permalink
Merge pull request #16 from RECETOX/issue-12
Browse files Browse the repository at this point in the history
Updated files within the 'filtered' and 'output_matching' dirs
  • Loading branch information
hechth committed Nov 8, 2023
2 parents 60d3241 + 2daf1a0 commit ca20a42
Show file tree
Hide file tree
Showing 11 changed files with 461,349 additions and 333,902 deletions.
4 changes: 4 additions & 0 deletions analysis/R_scripts/match_spectra.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ match_spectra <- function(reference_file, simulated_file, output_file, ppm = 5)
write.table(matched_spectra_df, file = paste(output_file,"filterNA",sep = '_'), sep = "\t", quote = FALSE, row.names = FALSE)
}

##############################################
# Simulated spectra must be in MS-LIMA format.
##############################################

# matching for all peaks
reference_file_all_peaks <- file.path('analysis/data/experimental/RECETOX_GC-EI_MS_20201028.msp')
simulated_file_all_peaks <- file.path('analysis/data/filtered/simulated_matchms_filter_1%I_all_peaks.msp')
Expand Down
Loading

0 comments on commit ca20a42

Please sign in to comment.