NciCactusEntry: biodbNci, a library for connecting to the National Cancer...

NciCactusEntryR Documentation

biodbNci, a library for connecting to the National Cancer Institute (USA) CACTUS Database. entry class.

Description

Entry class for biodbNci, a library for connecting to the National Cancer Institute (USA) CACTUS Database.

Super classes

biodb::BiodbEntry -> biodb::BiodbTxtEntry -> biodb::BiodbSdfEntry -> NciCactusEntry

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage
NciCactusEntry$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

BiodbSdfEntry.

Examples

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

# Get a connector that inherits from NciCactusConn:
conn <- mybiodb$getFactory()$createConn('nci.cactus')


# Use a database extract in order to avoid the downloading of the whole
# database.
dbExtract <- system.file("extdata", 'generated', "cactus_extract.txt.gz",
    package="biodbNci")
conn$setPropValSlot('urls', 'db.gz.url', dbExtract)

# Get an entry
e <- conn$getEntry('749674')

# Terminate instance.
mybiodb$terminate()


pkrog/biodbNci documentation built on March 27, 2022, 4:30 p.m.