createDB: Create a SQLite database

Description Usage Arguments Value Author(s) Examples

View source: R/createDB.R

Description

create a relational database based on a schema defined in this package if argument sql is not specified. There are two tables (experiment and mz) defined to capture necessary information to annotate ions or peaks.

Usage

1
createDB(dbname = "mzDB.db", sql = "mzDBSchema.sql")

Arguments

dbname

database name

sql

predefined schema, or a modified definition

Value

A database file saved in the current folder

Author(s)

Mingshu Cao

Examples

1
2
3
4
## Not run: 
    createDB(dbname="my.db")

## End(Not run)

iontree documentation built on May 2, 2018, 2:55 a.m.