MassSqliteConn-class {biodb}R Documentation

Class for handling a Mass spectrometry database in SQLite format.

Description

This is the connector class for a MASS SQLite database.

Methods

getChromCol(ids = NULL)

:

Gets a list of chromatographic columns contained in this database.

ids: A character vector of entry identifiers (i.e.: accession numbers). Used to restrict the set of entries on which to run the algorithm.

Returned value : A data.frame with two columns, one for the ID 'id' and another one for the title 'title'.

See Also

Super classes BiodbMassdbConn and SqliteConn.

Examples

# Create an instance with default settings:
mybiodb <- biodb::newInst()

# Get path to LCMS database example file
lcmsdb <- system.file("extdata", "massbank_extract.sqlite", package="biodb")

# Create a connector
conn <- mybiodb$getFactory()$createConn('mass.sqlite', url=lcmsdb)

# Get an entry
e <- conn$getEntry('34.pos.col12.0.78')

# Terminate instance.
mybiodb$terminate()


[Package biodb version 1.0.4 Index]