defb experiments are built upon SQLite, as included withing the RSQLite package. This provides a lightweight but powerful RDMS for handling all the data stored by defb.
The answer is pretty complicated, but some places to start looking are:
sqlTableArchitecture.R
(Layouts the database structure)
and
dbCreators.R
(creates a database)
Let's say you have an experiment that contains a sample named "sample_1", and then later want to add a new replicate of "sample1" and merge this into the earlier experiment. This works because...
The mzML/mzXML file is stored and indexed by its hash, not by sample ID.
This hash is linked to sampleIDs in the "IndividualSpectra" table and so spectrum and peak data is always attributable to the originating mzML/mzXML.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.