| CompCsvFileEntry {biodb} | R Documentation |
Compound CSV File entry class.
Compound CSV File entry class.
This is the entry class for Compound CSV file databases.
biodb::BiodbEntry -> biodb::BiodbCsvEntry -> CompCsvFileEntry
new()New instance initializer. Entry objects must not be created directly. Instead, they are retrieved through the connector instances.
CompCsvFileEntry$new(...)
...All parameters are passed to the super class initializer.
Nothing.
clone()The objects of this class are cloneable with this method.
CompCsvFileEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
Super class BiodbCsvEntry.
# Create an instance with default settings:
mybiodb <- biodb::newInst()
# Get a connector that inherits from CsvFileConn:
chebi_file <- system.file("extdata", "chebi_extract.tsv", package="biodb")
conn <- mybiodb$getFactory()$createConn('comp.csv.file', url=chebi_file)
# Get an entry
e <- conn$getEntry('')
# Terminate instance.
mybiodb$terminate()