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

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

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

                                        Filter FCS files
                                         过滤器的FCS文件

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

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

These methods link filter descriptions to a particular set of flow cytometry data allowing for the lightweight calculation of summary statistics common to flow cytometry analysis.
这些方法连接到特定的一组允许轻量级计算的汇总统计,流式单元仪分析的共同流式单元仪数据的过滤器描述。


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


filter(x, filter, ...)



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

参数:x
Object of class flowFrame or flowSet.
对象的类flowFrame或flowSet。


参数:filter
An object of class filter or a named list filters.
对象类filter或命名列表filters。


参数:...
Optional arguments
可选参数


Details

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

The filter method conceptually links a filter description, represented by a filter object, to a particular flowFrame. This is accomplished via the filterResult object, which tracks the linked frame as well as caching the results of the filtering operation itself, allowing for fast calculation of certain summary statistics such as the percentage of events accepted by the filter. This method exists chiefly to allow the calculation of these statistics without the need to first Subset a flowFrame, which can be quite large.
filter方法在概念上把一个过滤器的描述,一个特定的filter代表flowFrame对象,。这是通过filterResult对象,跟踪联系的框架,以及缓存过滤操作本身的结果,从而快速计算一定的汇总统计数据,如百分比事件被filter接受。这种方法存在主要是为了让这些统计数据的计算,而不需要首先SubsetflowFrame,它可以是相当大的。“

When applying on a flowSet, the filter argument can either be a single filter object, in which case it is recycled for all frames in the set, or a named list of filter objects. The names are supposed to match the frame identifiers (i.e., the output of sampleNames(x) of the flowSet. If some frames identifiers are missing, the particular frames are skipped during filtering. Accordingly, all filters in the filter list that can't be mapped to the flowSet are ignored. Note that all filter objects in the list must be of the same type, e.g. rectangleGates.
当申请一个flowSet,filter参数可以是一个单一的filter对象,在这种情况下,它是集合中的所有帧回收,或命名列表<X >的对象。名称应该匹配的帧标识符(即filtersampleNames(x)。如果缺少某些帧标识符,特定帧跳过过程中过滤,因此,所有的flowSet的输出不能映射到的filters被忽略。请注意,所有flowSet“列表中的对象必须是同一类型的,例如filter过滤器列表。


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

A filterResult object or a filterResultList object if x is a flowSet. Note that filterResult objects are themselves filters, allowing them to be used in filter expressions or Subset operations.
如果“filterResultfilterResultList一x对象或一个flowSet对象。注意filterResult对象是自己的过滤器,使他们能够在过滤器表达式或Subset操作使用。


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


F Hahne, B. Ellis, N. Le Meur



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

Subset, filterResult
Subset,filterResult


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



## Filtering a flowFrame[#1 flowFrame过滤]
samp <- read.FCS(system.file("extdata","0877408774.B08", package="flowCore"))
rectGate <- rectangleGate(filterId="nonDebris","FSC-H"=c(200,Inf))
fr <- filter(samp,rectGate)
class(fr)
summary(fr)

## filtering a flowSet[#过滤1 flowSet]
data(GvHD)
foo <- GvHD[1:3]
fr2 <- filter(foo, rectGate)
class(fr2)
summary(fr2)

## filtering a flowSet using different filters for each frame[#过滤flowSet每帧使用不同的过滤器]
rg2 <- rectangleGate(filterId="nonDebris","FSC-H"=c(300,Inf))
rg3 <- rectangleGate(filterId="nonDebris","FSC-H"=c(400,Inf))
flist <- list(rectGate, rg2, rg3)
names(flist) <- sampleNames(foo)
fr3 <- filter(foo, flist)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 02:49 , Processed in 0.032068 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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