找回密码
 注册
查看: 515|回复: 0

R语言 DECIPHER包 Add2DB()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:18:25 | 显示全部楼层 |阅读模式
Add2DB(DECIPHER)
Add2DB()所属R语言包:DECIPHER

                                         Add Data To A Database
                                         将数据添加到数据库

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Adds a data.frame to a database table by row.names.
添加data.framerow.names到数据库表。


用法----------Usage----------


Add2DB(myData,
       dbFile,
       tblName = "DNA",
       verbose = TRUE,
       ...)



参数----------Arguments----------

参数:myData
Data frame containing information to be added to the dbFile.  
数据框包含的信息被添加到dbFile。


参数:dbFile
A SQLite connection object or a character string specifying the path to the database file.  
一个SQLite连接对象或一个字符串指定的数据库文件的路径。


参数:tblName
Character string specifying the table in which to add the data.  
字符串指定要在其中添加数据表。


参数:verbose
Logical indicating whether to display each query as it is sent to the database.  
逻辑指示是否显示每个查询发送到数据库,因为它是。


参数:...
Additional expressions to add as part of a where clause in the query.  Further arguments provided in ... will be added to the query separated by " and " as part of the where clause.  
其他表达式添加在查询的WHERE子句的一部分。提供进一步的论据...将被添加到" and "分开查询的where子句的一部分。


Details

详情----------Details----------

Data contained in myData will be added to the tblName by its respective row.names.
在myData所载的数据将添加到其各自的tblNamerow.names。


值----------Value----------

Returns TRUE if the data was added successfully.
返回TRUE如果数据被成功添加。


作者(S)----------Author(s)----------



Erik Wright <a href="mailtoECIPHER@cae.wisc.edu">DECIPHER@cae.wisc.edu</a>




参见----------See Also----------

Seqs2DB, SearchDB, BrowseDB
Seqs2DB,SearchDB,BrowseDB


举例----------Examples----------


# Create a sequence database[创建一个序列数据库]
gen <- system.file("extdata", "Bacteria_175seqs.gen", package="DECIPHER")
dbConn <- dbConnect(SQLite(), ":memory:")
Seqs2DB(gen, "GenBank", dbConn, "Bacteria")

# Identify the sequence lengths[识别序列的长度]
l <- IdLengths(dbConn)

# Add lengths to the database[加入到数据库的长度]
Add2DB(l, dbConn)

# View the added lengths[增值长度]
BrowseDB(dbConn)
dbDisconnect(dbConn)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-12 08:57 , Processed in 0.031474 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表