timeFilter-class(flowCore)
timeFilter-class()所属R语言包:flowCore
Class "timeFilter"
类“timeFilter”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Define a filter that removes stretches of unusual data distribution within a single parameter over time. This can be used to correct for problems during data acquisition like air bubbles or clods.
定义filter删除异常数据分布在一段时间内的单个参数绵延。这可以用来纠正问题在数据采集,如气泡或土块。
用法----------Usage----------
timeFilter(..., bandwidth=0.75, binSize, timeParameter,
filterId="defaultTimeFilter")
参数----------Arguments----------
参数:...
The names of the parameters on which the filter is supposed to work on. Names can either be given as individual arguments, or as a list or a character vector.
过滤器工作参数的名称。名称可以作为单独的参数,或者作为一个列表或一个字符向量。
参数:filterId
An optional parameter that sets the filterId slot of this gate. The object can later be identified by this name.
一个可选的参数设置filterId这门槽。对象可以在以后确定了这个名字。
参数:bandwidth, binSize
Numerics used to set the bandwidth and binSize slots of the object.
Numerics的使用设置bandwidth和binSize对象插槽。
参数:timeParameter
Character used to set the timeParameter slot of the object.
符设置timeParameter对象插槽,。
Details
详情----------Details----------
Clods and disturbances in the laminar flow of a FACS instrument can cause temporal aberrations in the data acquisition that lead to artifactual values. timeFilters try to identify such stretches of disturbance by computing local variance and location estimates and to remove them from the data.
在一个流式单元仪层流土块和干扰,可能会导致在数据采集的时间像差,导致artifactual值。 timeFilters尝试找出绵延等的干扰,并通过计算局部方差和位置估计,从数据中删除。
值----------Value----------
Returns a timeFilter object for use in filtering flowFrames or other flow cytometry objects.
返回过滤flowFrames或其他流式单元仪检测对象为使用timeFilter对象。
延伸----------Extends----------
Class "parameterFilter", directly.
类"parameterFilter",直接。
Class "concreteFilter", by class parameterFilter, distance 2.
类"concreteFilter"类parameterFilter,距离2。
Class "filter", by class parameterFilter, distance 3.
类"filter"类parameterFilter,距离3。
插槽----------Slots----------
bandwidth: Object of class "numeric". The sensitivity of the filter, i.e., the amount of local variance of
bandwidth类"numeric"的对象。过滤器的灵敏度,即局部方差量
binSize: Object of class "numeric". The size of the bins used for the local variance and location estimation. If NULL, a reasonable default is used when
binSize类"numeric"的对象。用于局部方差和位置估计箱的大小。如果NULL,一个合理的默认时使用
timeParameter: Object of class "character", used to define the time domain parameter. If NULL, the
timeParameter:"character" Object类,用来定义时域参数。如果NULL,
parameters: Object of class "character",
parameters:Object类的"character",
filterId: Object of class "character",
filterId:Object类的"character",
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("timeFilter", ...) or using the constructor timeFilter. Using the constructor is the recommended way of object instantiation:
对象可以创建检测形式new("timeFilter", ...)或使用的构造timeFilter。使用构造对象实例的推荐方式:
方法----------Methods----------
%in% signature(x = "flowFrame", table = "timeFilter"): The workhorse used to evaluate the filter on
在%signature(x = "flowFrame", table = "timeFilter"):主力用来评估过滤器
show signature(object = "timeFilter"): Print
显示signature(object = "timeFilter"):打印
注意----------Note----------
See the documentation of timeLinePlot in the flowViz package for details on visualizing temporal problems in flow cytometry data.
看到文件timeLinePlotflowViz包流式单元仪数据可视化的时空问题的详细信息。
作者(S)----------Author(s)----------
Florian Hahne
参见----------See Also----------
flowFrame, filter for evaluation of timeFilters and split and Subsetfor splitting and subsetting of flow cytometry
flowFrame,filtertimeFilters和split和Subset评价流式单元仪的分裂和子集
举例----------Examples----------
## Loading example data[#载入数据为例]
data(GvHD)
dat <- GvHD[1:10]
## create the filter[#创建过滤器]
tf <- timeFilter("SSC-H", bandwidth=1, filterId="myTimeFilter")
tf
## Visualize problems[#可视化问题]
## Not run: [#无法运行:]
library(flowViz)
timeLinePlot(dat, "SSC-H")
## End(Not run)[#结束(不运行)]
## Filtering using timeFilters[#过滤使用timeFilters]
fres <- filter(dat, tf)
fres[[1]]
summary(fres[[1]])
summary(fres[[7]])
## The result of rectangle filtering is a logical subset[#矩形过滤的结果是一个逻辑的子集]
cleanDat <- Subset(dat, fres)
## Visualizing after cleaning up[#可视化后清理]
## Not run: [#无法运行:]
timeLinePlot(cleanDat, "SSC-H")
## End(Not run)[#结束(不运行)]
## We can also split, in which case we get those events in and those[#我们也可以分裂,在这种情况下,我们得到这些事件和那些]
## not in the gate as separate populations[#而不是作为单独的种群门]
allDat <- split(dat[[7]], fres[[7]])
par(mfcol=c(1,3))
plot(exprs(dat[[7]])[, "SSC-H"], pch=".")
plot(exprs(cleanDat[[7]])[, "SSC-H"], pch=".")
plot(exprs(allDat[[2]])[, "SSC-H"], pch=".")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|