writeData_DB: Parse and Write Data into R Data Packages

Description Usage Arguments Details Author(s)

View source: R/writeData_DB.R

Description

These functions store data tables in the "*.sqlite" file in SQLite-based annotation package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Arguments

pkgName

the name of the data package to be built. (e.g. "hsaSP")

pkgPath

a character string for the full path of an existing directory where the built backage will be stored.

folders

a string vector for the file folder of establish R package.

force

a boolean to indicate whether the existed homonymic folder will be removed.

db

a object that extends DBIConnection.

repList

a named list which will replace the symbols in template file.

type

character string, giving the name of concerned database.

srcUrls

a character string, giving the url of the source file.

organism

a character string for the name of the organism of concern. (eg: "Homo sapiens")

Details

These functions download and parse data from diverse databases. The result files are stored as tables in the "*.sqlite" file.

writeMeta_DB writes information from "repList" into a table called "metadata".

writeData_DB download and parse source file, and write the result files into tables.

Author(s)

Hong Li


PAnnBuilder documentation built on May 2, 2018, 4:07 a.m.