resourcerer2BioC(Resourcerer)
resourcerer2BioC()所属R语言包:Resourcerer
A function that downloads an annotation file from TIGR
一个功能,从TIGR注释文件下载
译者:生物统计家园网 机器人LoveR
描述----------Description----------
TIGR Resourcerer maintains various annotation files for Affymetrix or cDNA chips. This function allows users to create a bioC annotation data package for the probes contained in the Resourcerer annotation file.
TIGR的Resourcerer保持Affymetrix的基因芯片的各种注释文件。此功能允许用户创建一个bioC注释数据在的Resourcerer注释文件中包含的探针包。
用法----------Usage----------
resourcerer2BioC(
which, organism = c("human", "mouse", "rat"),
destDir = file.path(.path.package("Resourcerer"), "temp"),
pkgName, pkgPath, baseMapType = c("gbNRef", "gb", "ug", "ll"),
version = "1.1.0", baseUrl =
"ftp://occams.dfci.harvard.edu/pub/bio/tgi/data/Resourcerer", check =
FALSE, author = list(authors = "Anonymous", maintainer
= "Anonymous <anonymous@email.com>"), exten = "zip")
参数----------Arguments----------
参数:which
which a character string indicating which Resourcerer annotation file to be read in
which一个字符字符串,指示哪个Resourcerer注释的文件要阅读
参数:destDir
destDir a character string for the path of a directory where the downloaded file will be stored. If missing, the temp directory will be the default
destDir一个一个下载的文件将存储目录的路径字符串。如果丢失,临时目录,将是默认
参数:baseUrl
baseUrl a character string for the url of Resourcerer ftp site where directories containing annotation files for human, rat, mouse ... are stored
baseUrl为Resourcerer FTP站点目录包含人类,大鼠,小鼠的注释文件的url的字符串...存储
参数:baseMapType
baseMapType a character string that is either "gb","ug", or "ll" to indicate whether the probe ids in baseName are mapped to GenBack accession numbers, UniGene ids, or LocusLink ids
baseMapType一个字符串,是“GB”,“UG”,或“LL”基名的探针IDS是否被映射到GenBack加入号码,UniGene的IDS,或LocusLink IDS
参数:pkgName
pkgName a character string for the name of the data package to be built (e. g. hgu95a, rgu34a)
pkgName一个待建的数据包的名称字符串(如hgu95a,rgu34a)
参数:pkgPath
pkgPath a character string for the full path of an existing directory where the built backage will be stored
pkgPath为现有的目录的完整路径字符串建成backage将被保存
参数:organism
organism a character string for the name of the organism of concern (now can only be "human", "mouse", or "rat")
organism为关注的有机体(现在只能是“人”,“老鼠”,或“鼠”)的名称的字符串
参数:version
version a character string for the version number
version一个版本号的字符串
参数:author
author a list of character strings with an author element for the name of the author and maintainer element for the email address of the author
author与作者和作者的电子邮件地址的维护者元素的名称author元素的字符串列表
参数:check
check a boolean incicating whether to check the mappings between probe ids and LocusLink ids obtained from Resourcer and bioC AnnotationDbi when baseMapType is 'll'
check的布尔incicating之间是否要检查探针ID和LocusLink IDS从Resourcer和bioC AnnotationDbi获得当baseMapType是LL映射
参数:exten
exten a character string for the extension (e. g. zip) of the source data file to be processed
exten扩展字符串的数据源(例如,zip)文件进行处理
Details
详情----------Details----------
baseUrl is the root directory of TIGR ftp site for Resourcerer that contains subdirectories holding data for different organism.
baseUrl是持有不同的生物体的数据,其中包含子目录的Resourcerer TIGR的FTP站点的根目录。
值----------Value----------
Function resourcerer2BioC returns invisible() if successfully executed.
函数resourcerer2BioC返回无形(),如果成功执行。
作者(S)----------Author(s)----------
Jianhua Zhang
参考文献----------References----------
<h3>See Also</h3>
举例----------Examples----------
#############################################################[################################################## ##########]
## The example takes a loooong time (about an hour) to run ##[#例如需要loooong时间(约一个小时),运行#]
#############################################################[################################################## ##########]
if(interactive()){
resourcerer2BioC("Agilent_Human1_cDNA.zip", baseMapType = "gbNRef")
unlink(file.path(.path.package("Resourcerer"), "temp",
"Agilent_Human1_cDNA.db"), TRUE)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|