mzImport: Data entry of iontree into mz table

Description Usage Arguments Note Author(s) Examples

View source: R/mzImport.R

Description

import iontree object into table "mz" in the database

Usage

1
mzImport(iontree, dbname = "mzDB.db", exp.id)

Arguments

iontree

iontree as defined in this package

dbname

database name

exp.id

id in table of experiment

Note

see vignette for an example of batch loading

Author(s)

Mingshu Cao

Examples

1
2
3
4
5
6
7
#to check information just loaded
#db=dbConnect(dbDriver("SQLite"), dbname="mzDB.db")
#dbListTables(db)
#q1=dbSendQuery(db, "SELECT mz, rt, ms2 FROM mz") 
#fetch(q1, n=-1)
#dbClearResult(q1)
#dbDisconnect(db)

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