convertBeadLevelList:
Convert a BeadLevelList object into a beadLevelData object
Description
As of beadarray version 2.0 the BeadLevelList class has been deprecated and replaced by the beadLevelData class. Whilst these are superficially similar, the way the data are stored is quite different, meaning most functionality within the package is no longer compatible with the original BeadLevelList class.
This function converts any object that is of the old BeadLevelList class into a beadLevelData object.