saveFeatures {GenomicFeatures}R Documentation

Methods to save and load the database contents for a TranscriptDb or FeatureDb object.

Description

These methods provide a way to dump a TranscriptDb or FeatureDb object to an SQLite file, and to recreate that object from the saved file.

However, these methods are now deprecated and have been replaced by saveDb and loadDb.

Users are encouraged to switch to those other methods as the methods documented here will soon be defunct.

Usage

  saveFeatures(x, file)
  loadFeatures(file)

Arguments

x

A TranscriptDb or FeatureDb object.

file

An SQLite Database filename.

Value

For loadFeatures only, a TranscriptDb or FeatureDb object is returned.

Author(s)

M. Carlson

See Also

saveDb, TranscriptDb, FeatureDb

Examples

## Not run: 
  txdb <- 
    loadFeatures(system.file("extdata", "UCSC_knownGene_sample.sqlite",
                             package = "GenomicFeatures"))
  txdb

## End(Not run)

[Package GenomicFeatures version 1.14.2 Index]