colDescriptions(SRAdb)
colDescriptions()所属R语言包:SRAdb
Get column descriptions of SRAmetadb.sqlite
获取列SRAmetadb.sqlite说明
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get column descriptions of SRAmetadb.sqlite, including table, field, field data type, description and default values
获取列说明SRAmetadb.sqlite包括表,字段,字段的数据类型,说明和默认值,
用法----------Usage----------
colDescriptions( sra_con )
参数----------Arguments----------
参数:sra_con
Connection of the SRAmetadb SQLite database
的SRAmetadb SQLite数据库连接
值----------Value----------
A seven-column data.frame including table_name, field_name, type, description, value_list.
七列数据框包括TABLE_NAME,FIELD_NAME,类型,描述,value_list。
作者(S)----------Author(s)----------
Jack Zhu<zhujack@mail.nih.gov> and Sean Davis <sdavis2@mail.nih.gov>
举例----------Examples----------
if(file.exists('SRAmetadb.sqlite')) {
library(SRAdb)
sra_dbname <- 'SRAmetadb.sqlite'
sra_con <- dbConnect(dbDriver("SQLite"), sra_dbname)
## Get column descriptions[#获取列的说明。]
a <- colDescriptions(sra_con=sra_con)[1:5,]
} else {
print("use getSRAdbFile() to get a copy of the SRAmetadb.sqlite file and then rerun the example")
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|