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

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

[复制链接]
发表于 2012-2-25 19:47:41 | 显示全部楼层 |阅读模式
externalize(GGtools)
externalize()所属R语言包:GGtools

                                         create R package with decomposable smlSet representation
                                         创建R包与可分解smlSet代表

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

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

create R package with decomposable smlSet representation
创建R包与可分解smlSet代表


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


externalize(smlSet,
  packname,
  author = "Replace Me <auth@a.b.com>",
  maintainer = "Replace Me <repl@a.b.com>")



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

参数:smlSet
instance of smlSet-class  
实例smlSet-class


参数:packname
arbitrary string naming the package that will hold the externalized representation – this should not coincide with the name of any installed package, as such would be overwritten  
任意字符串命名的包将于外向代表 - 这不应该配合任何已安装的软件包的名称等,将被覆盖


参数:author
string that should be a valid Author: entry for  a DESCRIPTION file  
字符串应该是一个有效的作者:一个描述文件的条目


参数:maintainer
string that should be a valid Maintainer: entry for  a DESCRIPTION file  
字符串应该是一个有效的维护者:一个描述文件的条目


Details

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

Each SnpMatrix-class instance in the smlEnv slot of smlSet is written to disk in a folder inst/parts of the source package generated by this function.  The ExpressionSet-class instance in the smlSet is isolated and saved as eset.rda  to the data folder of the source package generated by this function.  
每个SnpMatrix-classsmlEnv槽的实例smlSet被写入到磁盘文件夹中的INST /这个函数生成的源代码包的部分。 在ExpressionSet-class实例smlSet是孤立的,eset.rda这个函数生成的源代码包的数据文件夹中保存。

getSS will construct an smlSet-class instance with the expression data and selected chromosomes
getSS会smlSet-class实例构建与表达数据和选定的染色体


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

instance of smlSet-class
实例smlSet-class


注意----------Note----------

The purpose is to avoid loading very large objects as SNP panels grow into the millions.  With this approach  in-memory images can be chromosome-size, or smaller if desired, depending on the structure of smList(smlSet).
其目的是为了避免加载非常大的对象的SNP面板到数以百万计的增长。内存中的图像,这种方法可以是染色体的大小或更小的如果需要的话,取决于上smList(smlSet)结构。


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



VJ Carey <stvjc@channing.harvard.edu>




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

getSS
getSS


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


## Not run: [#无法运行:]
if (!exists("hmceuB36.2021")) hmceuB36.2021 <- getSS("GGtools", c("20", "21"))
owd = getwd()
setwd(tempdir())
externalize(hmceuB36.2021, "hmdemo")
system("tar zcvf hmdemo.tar.gz hmdemo")
install.packages("hmdemo.tar.gz", repos=NULL)
library(hmdemo)
getSS("hmdemo", "20")
setwd(owd)

## End(Not run)[#结束(不运行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 02:06 , Processed in 0.022170 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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