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

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

[复制链接]
发表于 2012-2-25 18:45:55 | 显示全部楼层 |阅读模式
genefilter(genefilter)
genefilter()所属R语言包:genefilter

                                        A function to filter genes.
                                         一个筛选基因的功能。

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

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

genefilter filters genes in the array expr using the filter functions in flist. It returns an array of logical values (suitable for subscripting) of the same length as there are rows in expr. For each row of expr the returned value is TRUE if the row passed all the filter functions. Otherwise it is set to FALSE.
genefilter滤波器阵列基因exprflist使用的过滤功能。它返回一个逻辑值相同长度(适合为下标)数组作为有expr行。对于每一个行expr返回的值是TRUE如果该行通过所有的过滤功能。否则,它被设置为FALSE。


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


genefilter(expr, flist)



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

参数:expr
A matrix or ExpressionSet that the filter functions will be applied to.
一个matrix或ExpressionSet过滤功能将被应用到。


参数:flist
A list of filter functions to apply to the array.
一个list过滤功能,适用于阵列。


Details

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

This package uses a very simple but powerful protocol for filtering genes. The user simply constructs any number of tests that they want to apply. A test is simply a function (as constructed using one of the many helper functions in this package) that returns TRUE if the gene of interest passes the test (or filter) and FALSE if the gene of interest fails.
这个包使用非常简单但功能强大的协议,为筛选基因。用户只需构造任意数量的测试,他们想申请。一个测试仅仅是一个函数(已建成使用这个包中的许多辅助功能之一),返回TRUE感兴趣的基因,如果通过测试(或过滤器)和FALSE如果感兴趣的基因失败。

The benefit of this approach is that each test is constructed individually (and can be tested individually). The tests are then applied sequentially to each gene. The function returns a logical vector indicating whether the gene passed all tests functions or failed at least one of them.
这种方法的好处是,每个测试单独构建(及可单独进行测试)。测试,然后依次应用到每个基因。函数返回一个逻辑向量表示的基因是否通过了所有测试的功能,或失败,至少其中之一。

Users can construct their own filters. These filters should accept a vector of values, corresponding to a row of the expr object. The user defined function should return a length 1 logical vector, with value TRUE or FALSE. User-defined functions can be  combined with filterfun, just as built-in filters.
用户可以建立自己的过滤器。这些过滤器应该接受的价值观的向量,相应的一排expr对象。用户定义的函数应该返回值TRUE或FALSE长度1的逻辑向量。用户定义的函数可以以filterfun结合,就像内置的过滤器。


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

A logical vector of length equal to the number of rows of expr. The values in that vector indicate whether the corresponding row of expr passed the set of filter functions.
逻辑vectorexpr行数的长度相等。值,vectorexpr相应的行是否通过过滤功能。


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


R. Gentleman



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

genefilter, kOverA
genefilter,kOverA


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


   set.seed(-1)
   f1 <- kOverA(5, 10)
   flist <- filterfun(f1, allNA)
   exprA <- matrix(rnorm(1000, 10), ncol = 10)
   ans <- genefilter(exprA, flist)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 05:33 , Processed in 0.019495 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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