sampleFilter-class(flowCore)
sampleFilter-class()所属R语言包:flowCore
Class "sampleFilter"
类“sampleFilter”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This non-parameter filter selects a number of events from the primary flowFrame.
这种非参数过滤器选择一个主flowFrame事件的数量。
用法----------Usage----------
sampleFilter(size, filterId="defaultSampleFilter")
参数----------Arguments----------
参数:filterId
An optional parameter that sets the filterId of this filter. The object can later be identified by this name.
一个可选的参数设置,这个filterIdfilter。对象可以在以后确定了这个名字。
参数:size
The number of events to select.
事件的数量来选择。
Details
详情----------Details----------
Selects a number of events without replacement from a flowFrame.
选择一些无需更换flowFrame事件。
值----------Value----------
Returns a sampleFilter object for use in filtering flowFrames or other flow cytometry objects.
使用过滤sampleFilters或其他流式单元仪检测对象返回一个flowFrame对象。
延伸----------Extends----------
Class "concreteFilter", directly.
类"concreteFilter",直接。
Class "filter", by class concreteFilter, distance 2.
类"filter"类concreteFilter,距离2。
插槽----------Slots----------
size: Object of class "numeric". Then number of
size类"numeric"的对象。然后数的
filterId: A character vector that identifies this
filterId:标识此一特征向量
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("sampleFilter", ...) or using the constructor sampleFilter. The latter is the recommended way of object instantiation:
对象可以创建检测形式new("sampleFilter", ...)或使用的构造sampleFilter。后者则是对象实例的推荐方式:
方法----------Methods----------
%in% signature(x = "flowFrame", table = "sampleFilter"): The workhorse used to evaluate the gate on data. This is usually not called directly by the user, but
在%signature(x = "flowFrame", table = "sampleFilter"):用来评估数据门的主力。这通常不是直接调用的用户,但
show signature(object = "sampleFilter"): Print
显示signature(object = "sampleFilter"):打印
作者(S)----------Author(s)----------
B. Ellis, F.Hahne
参见----------See Also----------
flowFrame, filter for evaluation of sampleFilters and split and Subsetfor splitting and subsetting of flow cytometry data sets based on that.
flowFrame,filtersampleFilters和split和Subset分裂和流式单元仪数据的子集设置此基础上的评估。
举例----------Examples----------
## Loading example data[#载入数据为例]
dat <- read.FCS(system.file("extdata","0877408774.B08",
package="flowCore"))
#Create the filter[创建过滤器]
sf <- sampleFilter(filterId="mySampleFilter", size=500)
sf
## Filtering using sampeFilters[#过滤使用sampeFilters]
fres <- filter(dat, sf)
fres
summary(fres)
## The result of sample filtering is a logical subset[#样本过滤的结果是一个逻辑子集]
Subset(dat, fres)
## We can also split, in which case we get those events in and those[#我们也可以分裂,在这种情况下,我们得到这些事件和那些]
## not in the gate as separate populations[#而不是作为单独的种群门]
split(dat, fres)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|