loadTxdb {ORFik} | R Documentation

## General loader for txdb

### Description

Useful to allow fast TxDb loader like .db

### Usage

    loadTxdb(txdb, chrStyle = NULL)

### Arguments

`txdb` | a TxDb file, a path to one of: (.gtf ,.gff, .gff2, .gff2, .db or .sqlite) or an ORFik experiment
`chrStyle` | a GRanges object, TxDb, FaFile, or a `seqlevelsStyle` (Default: NULL) to get seqlevelsStyle from. Is chromosome 1 called chr1 or 1, is mitocondrial chromosome called MT or chrM etc. Will use 1st seqlevel-style if more are present. Like: c("NCBI", "UCSC") -> pick "NCBI"

### Value

a TxDb object

### Examples

    library(GenomicFeatures)
    # Get the gtf txdb file
    txdbFile <- system.file("extdata", "hg19_knownGene_sample.sqlite",
                            package = "GenomicFeatures")
    txdb <- loadDb(txdbFile)

[Package ORFik version 1.14.7 Index]