alllistranks(seqinr)
alllistranks()所属R语言包:seqinr
To get the count of existing lists and all their ranks on server
要获得服务器上现有的列表和他们的行列数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is a low level function to get the total number of list and all their ranks in an opened database.
这是一个低级别的功能,在打开的数据库中得到总数的列表和所有他们的行列。
用法----------Usage----------
alllistranks(socket = autosocket(), verbose = FALSE)
alr(socket = autosocket(), verbose = FALSE)
参数----------Arguments----------
参数:socket
an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).
对象的类sockconn连接到一个的远程ACNUC数据库(默认值是一个socket的最后一个打开的数据库)。
参数:verbose
if TRUE, verbose mode is on
如果TRUE,详细模式是
Details
详细信息----------Details----------
This low level function is usually not used directly by the user.
这样低的水平的函数通常不使用由用户直接。
值----------Value----------
A list with two components:
列表两部分组成:
参数:count
count of existing lists
指望现有的列表
参数:rank
their rank
他们的排名
(作者)----------Author(s)----------
J.R. Lobry
参考文献----------References----------
参见----------See Also----------
choosebank, query
choosebank,query
实例----------Examples----------
## Not run: # Need internet connection[#不运行:#需要互联网连接]
choosebank("emblTP")
query("tmp1", "sp=Borrelia burgdorferi", virtual = TRUE)
query("tmp2", "sp=Borrelia burgdorferi", virtual = TRUE)
query("tmp3", "sp=Borrelia burgdorferi", virtual = TRUE)
(result <- alllistranks())
stopifnot(result$count == 3) # Three ACNUC lists[三ACNUC列表]
stopifnot(result$ranks == 2:4) # Starting at rank 2[从2级开始]
#[]
# Summay of current lists defined on the ACNUC server:[定义的当前列表summay上ACNUC服务器:]
#[]
sapply(result$ranks, getliststate)
closebank()
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|