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

R语言 spider包 read.GB()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:19:11 | 显示全部楼层 |阅读模式
read.GB(spider)
read.GB()所属R语言包:spider

                                         Download sequences from Genbank with metadata.
                                         从GenBank下载序列与元数据。

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

----------Description----------

Downloads sequences associated with the given accession numbers into a "DNAbin" class.



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


read.GB(access.nb, seq.names = access.nb, species.names = TRUE, gene = TRUE,
    access = TRUE, as.character = FALSE)



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

参数:access.nb
A character vector giving the GenBank accession numbers to download.  
字符向量给GenBank登录号下载。


参数:seq.names
A character vector giving the names to give to each sequence. Defaults to "accession number | species name".  
字符向量赋予给每个序列的名字。默认为“入世号|种名”。


参数:species.names
Logical. Should species names be downloaded? Default of TRUE.  
逻辑。物种名称下载?默认值为TRUE。


参数:gene
Logical. Should the name of the gene region be downloaded? Default of TRUE.  
逻辑。应被下载的基因区域的名称?默认值为TRUE。


参数:access
Logical. Should the accession number be downloaded? Default of TRUE.  



参数:as.character
Logical. Should the sequences be returned as character vector? Default of FALSE, function returns sequences as a "DNAbin" object.  
逻辑。如果返回的字符向量序列?默认值为FALSE,函数返回序列作为“DNAbin对象。


Details

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

This function is a modification of read.GenBank to include metadata with each sequence. Additional data currently implemented are the species names and the gene region from which sequences were derived.
此功能是修改read.GenBank包括每个序列的元数据。目前实施的其他数据的物种名称和序列,推导出的基因区域。


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

A 'DNAbin' object with the following attributes: "species", "gene", and "accession_num".
具有以下属性:"species","gene"和"accession_num"ADNAbin的对象。


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



Samuel Brown <s_d_j_brown@hotmail.com>




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

read.GenBank.
read.GenBank。


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


## Not run: [#不运行:]
read.GB("AY059961")

#Download the sequences making data(anoteropsis) from Genbank[下载序列从GenBank数据(anoteropsis)]
nums <- 59961:59993
seqs <- paste("AY0", nums, sep="")
dat <- read.GB(seqs)

attr(dat, "species")
attr(dat, "gene")
attr(dat, "accession_num")
## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-19 02:03 , Processed in 0.025121 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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