makeInpDb: Builds an individual DB from online files at inparanoid that...

Description Usage Arguments Value Author(s) Examples

View source: R/makeInparanoidDbs.R

Description

This is really meant to be used by AnnotationHubData for eventual exposure through the AnnotationHub. Users who are interested in Inparanoid 8 should look for the relevant objects to be in AnnotationHub. This function is just a database builder that allows us to put the data up there. So this is not really intended for use by end users.

Usage

1
  makeInpDb(dir, dataDir)

Arguments

dir

the full path to the online Inparanpoid 8 resource.

dataDir

directory where the source inparanoid.sqlite DB is

Value

A SQLite DB is produced but this is not returned from the function. loadDb is expected to be used by AnnotationHub to convert these into objects after the sqlite DB is downloaded from the hub server.

Author(s)

M. Carlson

Examples

1
2
3
4
5
6
7
## There are paths to resource data for each set of files at Inparanoid.
## This is how you can turn those files inta sqlite DB.
if(interactive()){
 db <- makeInpDb(
        dir="http://inparanoid.sbc.su.se/download/current/Orthologs/A.aegypti/",
        dataDir=tempdir())
}

AnnotationForge documentation built on Nov. 1, 2018, 2:05 a.m.