Export data from your profiled spectra for further analysis, bin the spectra for analysis by more traditional techniques, or create images of your spectra for use in publications and presentations.
Spectral profiling can be accelerated by importing, partially or entirely, profiled data of spectra that have already been fit. This is particularly efficient when dealing with large series of similar spectra.
How to import a profile from another spectrum
There are 4 ways profiled data can be imported:
-
Select 'Import Profile' from the File menu.
-
Select 'Batch Import Profile' from the Batch Operations in the Tools menu.
-
Drag and Drop a cnx file directly in the compound table. The file can also be chosen from Files panel that can be displayed in the left or right vertical sidebar in Profiler
-
Select and drag compounds from the compound table of one opened instance of Profiler to another.
Except for the last option, changes are automatically applied. Any dragged compounds from another profile will automatically overwrite what may exist. The operation is cancellable by selecting Undo Import Profile from the Edit menu.
For the other first 3 options, the following interface will be presented to allow for more options:
The right listbox will automatically be populated with all of the compounds that are available from the source cnx spectrum, and automatically chosen as the default set of compounds to be imported. Compounds that should not be imported can be selected and drag to the “Will not be imported” listbox on the left side of the interface. All compounds chosen for import will merge with the existing profile, and the profile of pre-existing compounds will be automatically replaced by those imported, unless the “Skip compounds that are already profiled” option is selected (see below).
Two additional options are available to control the behaviour of the import operation:
-
Completely overwrite the existing profile: This option will first completely wipe the current existing profile before the selected compounds are imported.
-
Skip compounds that are already profile: If selected, this option will ignore the import of compounds that are pre-existing
Tips and Tricks
-
When importing a profile, fully or partially, the imported data completely replaces what currently exists. That applies to peak cluster transforms, compound concentrations, and compound annotations (colors, etc).
Exporting profiled compounds creates a
compound pack (.pack
) containing the set of actual compound signatures
used to profile a project, including compounds that have been annotated with
stars, pins, or colors. Exchange compound packs with other
users of Chenomx NMR Suite, and import new packs via Library Manager. This is one way to be
certain that collaborators are profiling spectra for a project using
exactly the same collection of compound signatures.
How to export a compound pack from the current spectrum
-
Open the Export Profiled Compounds dialog.
-
Enter a name for the exported compound pack.
-
Click OK.
-
In the resulting file chooser, locate the folder and create a name for Compound Pack.
-
Click Save.
Tips and Tricks
-
To export all of the compounds in a compound set, regardless of whether they have been fit in a particular spectrum, use Export as Compound Pack in Library Manager.
Related Topics
Export Compound Table creates a copy of the current compound table in a format which can be easily imported into any modern spreadsheet program.
How to export current compound table from a spectrum
-
Click File > Export > Compound Table.
-
Choose a save location and file format. You can export as comma-separated text (.csv), as tab-separated text (.tsv), or as an excel spreadsheet (.xlsx).
-
Click Save.
Tips and Tricks
-
If there are blank cells, there will be corresponding blank values in the exported data (this can happen if the table contains compounds that are missing from your compound library or if you export columns that can have empty cells, like "author", "pulse sequence", or "compound comment")
-
The "Status" column will never be exported, even if it is visible in the table.
-
The Starred and Pinned columns will export as "Yes" or "No" for each cell, and the Color column will export as a hex RGB value, such as 0000FF for each cell. Cells that have no color assigned will all export as the "default" color for that cell, i.e. the color that the cells compound appears when displayed on the graph.
-
Add/remove columns, reorder columns, or click on the header of any column to change the table sort order. The columns you chose to appear in your Compound Table will be exported, and the order of the rows and columns in the exported file will be in the same order as your Compound Table.
Batch Export creates a text file containing all of the relevant details from profiled spectra, in formats that you can easily open in software like Microsoft Excel or Umetrics SIMCA-P.
How to export data from one or more spectra
-
Start the Batch Export wizard.
-
Select the type of data that would you like to export. You can export concentrations in various units, other profiling results like profiled areas, matched clusters and transform summaries, or annotations like stars, pins and custom colors.
-
Choose the source spectra to export, and specify a target folder and filename for the exported text file. You can specify the currently open spectrum, other individual spectrum files or one or more folders containing spectrum files as the source.
-
Choose a save location and file format. You can export as comma-separated text (.csv), as tab-separated text (.tsv), or as an excel spreadsheet (.xlsx).
-
Choose the compounds for which you would like to export data. You can use custom compound sets that you have created in Library Manager to filter the output to specific compounds, or you can export all profiled compounds in all of the spectra.
-
Choose additional data that you would like to include in the exported file. Additional data can include spectrum pH values, Chenomx compound IDs for the exported compounds, or InChI or SMILES strings for the exported compounds.
-
Choose the default layout (files in rows and compounds in columns) or transposed layout (compounds in rows, files in columns) for the output file, depending on how you intend to use the file.
Concentration Confidence Intervals
-
When exporting concentrations, the software will also export the statistical standard deviations on concentrations as a second tab in the excel workbook. Concentration confidence intervals (± values) at 90%, 95%, and 99% can be calculated by multiplying the reported standard deviations by 1.645, 1.96, and 2.576, respectively.
-
For each compound, the standard deviation of each cluster is calculated individually, by calculating a ‘local’ sum of difference of squares in the spectral region currently occupied by each cluster. The minimum value found for all clusters is reported. As such, the reported standard deviation should be considered “best-case scenario’.
-
Failure to properly correct the spectral baseline will result is larger sum of squares, and therefore larger concentration errors.
-
Confidence intervals can be used to assist in the determination of the meaningfulness of reported fit concentrations, and in the decision to include or reject compounds in statistical models.
Tips and Tricks
-
Export Areas rather than Concentrations when working with compounds that have a region-based Fit Style (see “Compound Details”)
-
To filter the exported compounds without modifying the source spectra, create a Compound Set or Smart Compound Set in Library Manager, and only export compounds in that Compound Set.
-
Use the default layout to export files that you intend to open with statistical analysis packages. Use the transposed layout to export files that you intend to open in a spreadsheet program, or if you prefer the transposed layout.
-
If you intend to open the exported file in Microsoft Excel 2003 or earlier, limit the number of compounds to less than 253 for the Default layout, or the number of files to less than 253 for the Transposed layout, since these versions of Excel do not support large numbers of columns.
Related Topics
As you work with a spectrum in Profiler, you may notice that the phase correction, baseline correction or other aspects of the spectrum's lineshapes are not properly adjusted. Similarly, you may import a spectrum directly into Profiler, only to realize that it requires phase correction, baseline correction, or additional pH or CSI calibration. Send to Processor closes the current spectrum in Profiler, and opens it in Processor, retaining any changes you have made in Profiler.
Tips and Tricks
-
Any changes that you have made in Profiler are retained when you send the spectrum to Processor, and will be visible if you bring the spectrum back into Profiler. However, you still need to save the spectrum, either in Processor or Profiler, to permanently save those changes to the spectrum file.