makeDataPackage(Biobase)
makeDataPackage()所属R语言包:Biobase
Make an R package from a data object
从数据对象的R包
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This generic creates a valid R package from an R data object.
这个通用的R数据对象创建一个有效的R包。
用法----------Usage----------
makeDataPackage(object, author, email,
packageName=deparse(substitute(object)),
packageVersion=package_version("1.0.0"),
license="Artistic-2.0",
biocViews="ExperimentData",
filePath=tempdir(),
...)
参数----------Arguments----------
参数:object
An instance of an R data object.
R数据对象的一个实例。
参数:author
The author, as a character string.
笔者作为字符串。
参数:email
A valid email address for the maintainer, as a character string.
一个有效的电子邮件地址维护者,作为一个字符串。
参数:packageName
The name of the package, defaults to the name of the object instance.
包的名称,默认为对象的实例的名称。
参数:packageVersion
The version number, as a character string.
版本号,作为一个字符串。
参数:license
The license, as a character string.
作为一个字符串许可证。
参数:biocViews
A character vector of valid biocViews views.
一个字符向量的有效biocViews意见。
参数:filePath
The location to create the package.
创建包的位置。
参数:...
Additional arguments to specific methods.
额外的参数的具体方法。
Details
详情----------Details----------
The function makes use of various tools in R and Bioconductor to automatically generate the source files for a valid R package.
功能,使各种工具的使用在R和Bioconductor自动生成一个有效的R包的源文件。
值----------Value----------
The return value is that from a call to link{createPackage} which is invoked once the default arguments are set up. The data instance is stored in the data directory with a name the same as that of the resulting package.
返回值是从通话link{createPackage}这被调用一次默认参数设置。数据实例存储在同一个名字的软件包相同的数据目录。
注意----------Note----------
Developers implementing derived methods might force correct package name evaluation by including 'packageName' in any
实施派生方法的开发,可能会迫使包括“的packageName”在任何正确的软件包名称评价
作者(S)----------Author(s)----------
R. Gentleman
参见----------See Also----------
createPackage
createPackage
举例----------Examples----------
data(sample.ExpressionSet)
## package created in tempdir()[#包创建在TEMPDIR()]
s1 <- makeDataPackage(sample.ExpressionSet,
author = "Foo Author",
email = "foo@bar",
packageName = "FooBarPkg",
packageVersion = "1.0.0")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|