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

R语言 flowCore包 filterSet-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 17:42:59 | 显示全部楼层 |阅读模式
filterSet-class(flowCore)
filterSet-class()所属R语言包:flowCore

                                        Class filterSet
                                         类filterSet

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

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

A container for a collection of related filters.
收集相关的过滤器的容器。


类的对象----------Objects from the Class----------

There are several ways to create a filterSet object. There is the filterSet constructor, which creates an empty filterSet object (see the details section for more information). filterSet objects can also be coerced to and from list objects using the as function.
有几种方法来创建一个filterSet对象。有filterSet构造函数,创建一个空的filterSet对象(见细节部分的更多信息)。 filterSet对象也可以强制使用list函数和as对象。


插槽----------Slots----------




env: The environment that actually holds the filters
env:环境,实际上持有的过滤器




name: A more descriptive name of the set.
name:设置一个更具描述性的名称。


方法----------Methods----------




names An unsorted list of the names of the filters contained
无序列表过滤器的名称的名称载




sort Returns a topological sort of the names of the filters contained within the  set. Primarily used by internal functions (such as filter), this method is
排序返回一个集内包含的过滤器的名称的拓扑排序。主要用于内部功能(如filter),此方法是




filterReference Retrieves references to a filter inside a
filterReference检索引用内的过滤器




[ Returns the filter reference used inside the filter. See
[返回过滤器过滤器内部使用的参考。见




[[ Retrieves the actual filters from a filterSet. Note that
[从filterSet检索实际的过滤器。请注意




[[<- Put a filter into a filterSet. As a convenience, assigning to the &ldquo;""&rdquo; or NULL name will use the filter's name for assignment. Composed filters can be added easily using formulas rather than attempting to construct filters the long way. The formula interface is also lazy, allowing you to add filters in any
[< - 放在filterSet成一个过滤器。为方便起见,分配到“”“”NULL的名称将使用过滤器的名称分配。组成的过滤器可以很容易地添加使用的公式,而不是试图构建过滤器在很长的路要走。公式界面也是懒惰,让你添加任何过滤器


Details

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

filterSet objects are intended to provide a convenient grouping mechanism for a particular gating strategy. To accomplish this, much like the flowSet object, the filterSet object introduces reference semantics through the use of an environment, allowing users to change an upstream filter via the usual assignment mechanism and have that change reflected in all dependent filters. We do this by actually creating two filters for each filter in the filterSet. The first is the actual concrete filter, which is assigned to a variable of the form .name where name is the original filter name. A second filterReference filter is the created with the original name to point to the internal name. The allows us to evaluate a formula in the environment without creating a copy of the original filter.
filterSet对象的目的是提供一个特定的门战略便捷的分组机制。要做到这一点,很像flowSet对象,filterSet对象介绍通过使用一个environment引用语义,允许用户更改通过上游过滤器通常的分配机制和有改变体现在所有相关的过滤器。为此,我们实际上是在创建每个过滤器的过滤器在filterSet。首先是实际的具体的过滤器,这是一个变量的形式分配给.name其中name是原始的过滤器的名称。第二filterReference过滤器是用原来的名字创建指向内部名称。让我们formula在环境评估,而无需创建一份原滤波器。


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


B. Ellis



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

filterSet
filterSet


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



fs = new("filterSet")

## Simple assignment. Note that the filterId slot for the rectangle gate[#简单的任务。注意矩形门filterId的插槽]
## is changed.[#改变。]
fs[["filter1"]] = rectangleGate("FSC-H"=c(.2,.8),"SSC-H"=c(0,.8))

## Convenience assignment using the filterId slot.[#便利转让使用filterId槽。]
fs[[""]] = norm2Filter("FSC-H","SSC-H",scale.factor=2,filterId="Live Cells")

## We also support formula interfaces. These two statements are equivalent.[#我们也支持公式接口。这两个语句是等价的。]
fs[["Combined"]] = ~ filter1 %subset% `Live Cells`
fs[[""]] = Combined ~ filter1 %subset% `Live Cells`
fs
as(fs,"list")
as(as(fs,"list"),"filterSet")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 03:00 , Processed in 0.039990 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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