massdash.loaders.access.SqMassDataAccess
- class massdash.loaders.access.SqMassDataAccess(filename)
Bases:
object- getDataForChromatograms(ids: List[str], labels: List[str]) List[Chromatogram]
Get Get data from multiple chromatograms chromatogram
compression is one of 0 = no, 1 = zlib, 2 = np-linear, 3 = np-slof, 4 = np-pic, 5 = np-linear + zlib, 6 = np-slof + zlib, 7 = np-pic + zlib
data_type is one of 0 = mz, 1 = int, 2 = rt
data contains the raw (blob) data for a single data array
- getDataForChromatogramsDf(ids: List[str], labels: List[str]) DataFrame
Get chromatogram data as a dataframe
- getDataForChromatogramsFromNativeIds(native_ids: List, labels: List[str]) List[Chromatogram]
Get data from multiple chromatograms chromatogram
compression is one of 0 = no, 1 = zlib, 2 = np-linear, 3 = np-slof, 4 = np-pic, 5 = np-linear + zlib, 6 = np-slof + zlib, 7 = np-pic + zlib
data_type is one of 0 = mz, 1 = int, 2 = rt
data contains the raw (blob) data for a single data array
- getDataForChromatogramsFromNativeIdsDf(native_ids: List[str], labels: List[str]) DataFrame
Get chromatogram data as a dataframe
- getPrecursorChromIDs(precursor_id)
Get the chromatogram IDs for a given precursor ID