MassSqliteConn-class {biodb} | R Documentation |
This is the connector class for a MASS SQLite database.
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'.
Super classes BiodbMassdbConn
and
SqliteConn
.
# 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()