A short script to use the nontarget pattern.match function to print useful information about clusters.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
junikimm717 2e498394a2 Fixed windows mclapply bug 3 years ago
src Fixed windows mclapply bug 3 years ago
.gitignore noninteractive corrections and reformat 3 years ago
LICENSE.md first commit 3 years ago
README.md Fixed windows mclapply bug 3 years ago
specification.md cleaned up codebase 3 years ago



This is a short R pattern.search wrapper that takes in a CSV file containing HRMS Peaks and prints all of the fragment numbers that may contain isotopes of one's choosing (preferably halogenated compounds).


The script uses the following packages:

Before running/configuring the script, call make while in the /src directory or simply copy /src/script.def.R to /src/script.R.


All configuration variables are located at the top of the script.


The script should print a list with data for all clusters that contain the isotopes to be searched for.

If verbose.enable is set to TRUE, files of the form (fragment number).txt containing the pattern.search output will be printed to the directory specified in verbose.outputdir, assuming the directory already exists.

Additional Notes

As windows does not allow forking, the number of cores used on it will be constrained to 1.