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

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

[复制链接]
发表于 2012-9-30 01:16:09 | 显示全部楼层 |阅读模式
crelistfromclientdata(seqinr)
crelistfromclientdata()所属R语言包:seqinr

                                        To create on server an ACNUC list from data lines sent by client
                                         服务器上创建ACNUC的名单,由客户端发送的数据线

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

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

This function is usefull if you have a local file with sequence names (sequence ID), or sequence accession numbers, or species names, or keywords. This allows you to create on the server a list with the corresponding items.
此功能是有用的,如果你有一个本地文件序列名称(序列ID),序列登录号,或物种的名称,或关键字。这使您可以在服务器上创建一个列表,相应的项目。


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


crelistfromclientdata(listname, file, type, socket = autosocket(), invisible = TRUE, verbose = FALSE, virtual = FALSE)
clfcd(listname, file, type, socket = autosocket(), invisible = TRUE, verbose = FALSE, virtual = FALSE)



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

参数:listname
The name of the list as a quoted string of chars
带引号的字符串的字符列表中的名称


参数:file
The local file name
本地的文件名


参数:type
Could be one of "SQ", "AC", "SP", "KW", see examples
可能是“SQ”,“AC”,“SP”,“KW”,看到的例子


参数:socket
an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).
对象的类sockconn连接到一个的远程ACNUC数据库(默认值是一个socket的最后一个打开的数据库)。


参数:invisible
if FALSE, the result is returned visibly.
如果FALSE,返回的结果是明显的。


参数:verbose
if TRUE, verbose mode is on
如果TRUE,详细模式是


参数:virtual
if TRUE, no attempt is made to retrieve the information about all the elements of the list. In this case, the req component of the list is set to  NA.
如果TRUE,没有尝试进行检索列表中的所有元素的信息。在这种情况下,req组件的列表中被设置成NA。


Details

详细信息----------Details----------

clfcd is a shortcut for crelistfromclientdata.
clfcd是一个快捷方式crelistfromclientdata。


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

The result is directly assigned to the object listname in the user workspace. This is an objet of class qaw, a list with the following 6 components:
结果直接分配给对象listname在用户工作区。这是一个OBJET巴黎家居装饰博览会类qaw,具有以下6个组成部分的列表:


参数:call
the original call
原始呼叫


参数:name
the ACNUC list name
的ACNUC列表名称


参数:nelem
the number of elements (for instance sequences) in the ACNUC list
元素的数目(例如序列)在ACNUC列表


参数:typelist
the type of the elements of the list. Could be SQ for a list of sequence names, KW for a list of keywords, SP for a list of species names.
的元素的列表的类型。可能是SQ为序列名称的列表,KW的关键字列表,SP的物种名称的列表。


参数:req
a list of sequence names that fit the required criteria or NA when called with parameter virtual is TRUE
序列名称的列表,符合所要求的标准或NA调用时参数virtual是TRUE


参数:socket
the socket connection that was used
使用的套接字连接,


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


J.R. Lobry



参考文献----------References----------



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

choosebank,  query, savelist for the reverse operation with an ACNUC list of sequences.
choosebank,query,savelist的序列列表与一个ACNUC的反向操作。


实例----------Examples----------


## Not run:  # Need internet connection[#不运行:#需要互联网连接]
choosebank("emblTP")
#[]
# Example with a file that contains sequence names:[一个文件,其中包含序列名称的示例:]
#[]
fileSQ <- system.file("sequences/bb.mne", package = "seqinr")
crelistfromclientdata("listSQ", file = fileSQ, type = "SQ")
sapply(listSQ$req, getName)
#[]
# Example with a file that contains sequence accession numbers:[例如一个文件,其中包含序列登录号:]
#[]
fileAC <- system.file("sequences/bb.acc", package = "seqinr")
crelistfromclientdata("listAC", file = fileAC, type = "AC")
sapply(listAC$req, getName)
#[]
# Example with a file that contains species names:[一个文件,其中包含物种名称的示例:]
#[]
fileSP <- system.file("sequences/bb.sp", package = "seqinr")
crelistfromclientdata("listSP", file = fileSP, type = "SP")
sapply(listSP$req, getName)
#[]
# Example with a file that contains keywords:[一个文件,该文件中包含关键字的示例:]
#[]
fileKW <- system.file("sequences/bb.kwd", package = "seqinr")
crelistfromclientdata("listKW", file = fileKW, type = "KW")
sapply(listKW$req, getName)
#[]
# Summary of ACNUC lists:[摘要ACNUC列表:]
#[]
sapply(alr()$rank, getliststate)
closebank()

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-20 12:01 , Processed in 0.038421 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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