Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Waztom authored Jun 30, 2021
1 parent 973d6ed commit 2d8e211
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ from mscheck.analyse import AnalyseSpectrum
# Create MS scptrum object and find peaks
test = AnalyseSpectrum("<path to .mzML file>", mode="Positive")
# Analyse test spectrum
test.analyse(compoundsmiles=target_compound,
# Set SMILES of target to search for
target_SMILES = "CCOC(=O)N1CCN(C(=O)N2CCN(C(=O)c3ccco3)CC2)CC1"
# Analyse test spectrum searching for target SMILES
test.analyse(compoundsmiles=target_SMILES,
ionstoadd=["[H]", "[Na]", "[K]", "[NH4+]"],
tolerance=1)test.analyse
tolerance=1)
# Create a .svg report - if you do not give a compound_name
# the ending leaf of the file name will be used
Expand Down

0 comments on commit 2d8e211

Please sign in to comment.