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

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

[复制链接]
发表于 2012-2-26 00:03:39 | 显示全部楼层 |阅读模式
addGeneGrps(maigesPack)
addGeneGrps()所属R语言包:maigesPack

                                         Function to load gene groups into maigesPreRaw object
                                         加载到maigesPreRaw对象的基因组的功能

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

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

This function read a directory and read files containing the genes for specific gene groups. This files must have one gene per line. This function stores the gene groups read in the slot GeneGrps into objects of class maigesPreRaw.
这个函数读取一个目录,并读取文件含有特定基因组的基因。此文件必须每行有一个基因。此功能存储读取插槽GeneGrps类maigesPreRaw到对象的基因组。


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


addGeneGrps(data, folder="./", ext=".txt")



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

参数:data
object of maigesPreRaw class.
对象maigesPreRaw类的。


参数:folder
char string specifying the directory of gene groups. The function tests the presence or not of the final bar.
char字符串指定的基因组的目录。功能测试最后条形的存在与否。


参数:ext
string giving the extension of the files, defaults to '.txt'. The function also tests the presence of the initial dot.
扩展的文件,默认的字符串。txt的。该功能也测试初始点的存在。


Details

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

If the data object already has gene groups with names equal to some someones that are been read, the groups with repeated names are not added. Warning messages are printed for every repeated group name.
如果data对象已经有一些被阅读某人的名称等于基因组,重复名称的组未添加。每重复组名称打印警告消息。

The folder directory must contain only one file for each gene group of interest. These files must discriminate one gene per line. The identification of the genes must be done by one of the gene labels given by genemap (see loadData).
folder目录必须包含每一个感兴趣的基因组只有一个文件。这些文件必须每行一个基因歧视。基因的鉴定,必须由一个由基因标签genemap(见loadData)。


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

This function returns another object of class maigesPreRaw, with the slot GeneGroups actualised.
此功能返回插槽maigesPreRawactualised的另一个类GeneGroups,对象。


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



Gustavo H. Esteves &lt;<a href="mailto:gesteves@vision.ime.usp.br">gesteves@vision.ime.usp.br</a>&gt;




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

maigesPreRaw, addPaths
maigesPreRaw,addPaths


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


## Don't run because you don't have the gene sets in a readable folder.[#不要运行,因为你没有可读的文件夹中的基因组。]
## Not run: [#无法运行:]
gastro = addGeneGrps(gastro, folder="geneGrps", ext="txt")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 09:47 , Processed in 0.023179 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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