Description Usage Arguments Examples
View source: R/validateMassBank.R
Validates a plain text MassBank record, or recursively all records within a directory. The Unit Tests to be used are installed in RMassBank/inst/validationTests and currently include checks for NAs, peaks versus precursor, precursor mz, precursor type, SMILES vs exact mass, total intensities and title versus type. The validation report is saved as "report.html" in the working directory.
1 |
path |
The filepath to a single record, or a directory to search recursively |
simple |
If TRUE the function creates a simpler form of the RUnit .html report, better readable for humans. If FALSE it returns the unchanged RUnit report. |
1 2 3 4 | ## Not run:
validate("/tmp/MassBank/OpenData/record/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.