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

R语言 makecdfenv包 make.cdf.package()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 00:12:04 | 显示全部楼层 |阅读模式
make.cdf.package(makecdfenv)
make.cdf.package()所属R语言包:makecdfenv

                                        CDF Environment Package Maker
                                         民防环境包装机

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

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

This function reads an Affymetrix chip description file (CDF) and creates an R package that when loaded has the CDF environment available
该函数读取Affymetrix公司芯片的描述文件(CDF)和创建R包,加载时可用的CDF环境


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


make.cdf.package(filename,
  packagename  = NULL,
  cdf.path     = getwd(),   
  package.path = getwd(),
  compress     = FALSE,
  author       = "The Bioconductor Project",
  maintainer   = "Biocore Data Team <biocannotation@lists.fhcrc.org>",
  version      = packageDescription("makecdfenv", field="Version"),
  species      = NULL,
  unlink       = FALSE,
  verbose      = TRUE)



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

参数:filename
Character. Filename of the CDF file - without the path prefix!
字符。 CDF文件 - 不带路径前缀的文件名!


参数:packagename
Character. Name wanted for the package.
字符。包名通缉。


参数:cdf.path
Character. Path to the CDF file.
字符。 CDF文件的路径。


参数:package.path
Character. Path where the package will be created.
字符。将创建包的路径。


参数:compress
Logical. If TRUE, CDF file is compressed.
逻辑。如果TRUE,CDF文件被压缩。


参数:author
Character. What to put in the author field of the package.
字符。放什么author包领域。


参数:maintainer
Character. What to put in the maintainer field of the package.
字符。放什么maintainer包领域。


参数:version
Character. What to put in the version field. Should be a of the form x.x.x.
字符。放什么版本字段。应该形式x.x.x1。


参数:species
Character. Must be specified using the format e.g., Homo\_sapiens
字符。必须指定使用的格式,例如,智人\ _sapiens


参数:unlink
Logical. If TRUE, and a package directory exists already in package.path, that is overwritten.
逻辑。如果TRUE,包目录package.path已经存在,那就是覆盖。


参数:verbose
Logical. If TRUE messages are shown.
逻辑。如果TRUE消息显示。


Details

详情----------Details----------

The function is called for its side effect, creating a package. By default the package name will be the name of the CDF file made lower case and with special characters removed (i.e. only alpha-numeric).
其副作用,调用该函数创建一个包。默认情况下,包的名称将成为CDF文件的名称小写和删除特殊字符(即只有字母和数字)。

In general one would want to use the name given in by cleancdfname(abatch@cdfName) with abatch an AffyBatch object obtained, for example, using ReadAffy. This is the package name that the  affy package looks for by default.
一般人想使用所给予的名称cleancdfname(abatch@cdfName)abatchAffyBatch对象获得,例如,使用ReadAffy。 affy包默认情况下,看起来这是包名。

If the user has a CEL file, called filename, the recommended package name for the environment is cleancdfname(whatcdf(filename)). This usually coincides with the default.
如果用户有一个CEL的文件,称为filename,对环境的建议包名是cleancdfname(whatcdf(filename))。这恰逢默认。

Please see the vignette for more details.
请参阅有关详细信息的小插曲。


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

If success, the function returns the name of the created package.
如果成功,则函数返回创建的包的名称。


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


Rafael A. Irizarry, Wolfgang Huber



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

make.cdf.env
make.cdf.env


举例----------Examples----------


  pkgpath <- tempdir()
  make.cdf.package("Hu6800.CDF.gz",
           cdf.path=system.file("extdata", package="makecdfenv"),
           compress=TRUE, species = "Homo_sapiens",
           package.path = pkgpath)
  dir(pkgpath)          

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 06:51 , Processed in 0.018894 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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