| NciCactusEntry | R Documentation |
Entry class for biodbNci, a library for connecting to the National Cancer Institute (USA) CACTUS Database.
biodb::BiodbEntry -> biodb::BiodbTxtEntry -> biodb::BiodbSdfEntry -> NciCactusEntry
clone()The objects of this class are cloneable with this method.
NciCactusEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
BiodbSdfEntry.
# 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.