SRFilter-class(ShortRead)
SRFilter-class()所属R语言包:ShortRead
"SRFilter" for representing functions operating on ShortRead objects
“SRFilter”经营ShortRead对象为代表的功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Objects of this class are functions that, when provided an appropriate object from the ShortRead package, return logical vectors indicating which parts of the object satisfy the filter criterion.
这个类的对象,当提供一个合适的对象从ShortRead包的功能,返回表示对象的哪些部分满足筛选条件的逻辑向量。
A number of filters are built-in (described below); users are free to create their own filters, using the srFilter function.
内置的过滤器数量(如下所述),用户可以自由创建自己的过滤器,使用srFilter功能。
类的对象----------Objects from the Class----------
Objects can be created through srFilter (to create a user-defined filter) or through calls to constructors for predefined filters, as described on the srFilter page.
创建对象可以通过srFilter(创建一个用户定义的过滤器),或通过调用预定义过滤器上srFilter页所述,构造。
插槽----------Slots----------
.Data: Object of class "function" taking a single named argument x corresponding to the ShortRead object that the filter will be applied to. The return value of the filter function is expected to be a logical vector that can be used to subset x to include those elements of x satisfying the filter.
.Data:Object类的"function"采取单一命名参数x相应的ShortRead对象的过滤器将被应用到。预计的过滤函数的返回值是一个逻辑向量,可用于子集x包括x满意的过滤器的这些元素。
name: Object of class "ScalarCharacter" representing the name of the filter. The name is useful for suggesting the purpose of the filter, and for debugging failed filters.
name:Object类的"ScalarCharacter"表示过滤器的名称。建议过滤器的目的,调试失败过滤器的名称是有用的。
延伸----------Extends----------
Class "function", from data part. Class ".SRUtil", directly. Class "OptionalFunction", by class "function", distance 2. Class "PossibleMethod", by class "function", distance 2.
类"function",从数据的一部分。类".SRUtil",直接。类"OptionalFunction",按类别“功能”,距离为2。类"PossibleMethod",按类别“功能”,距离为2。
方法----------Methods----------
srFilter signature(fun = "SRFilter"): Return the function representing the underlying filter; this is primarily for interactive use to understanding filter function; usually the filter is invoked as a normal function call, as illustrated below
srFiltersignature(fun = "SRFilter"):返回代表底层过滤器的功能,这主要是为了解过滤功能的交互式使用通常的过滤器是作为一个普通的函数调用调用,如下所示
name signature(x = "SRFilter"): Return, as a ScalarCharacter, the name of the function.
signature(x = "SRFilter"):返回,作为一个的ScalarCharacter函数的名称。
show signature(object = "SRFilter"): display a brief summary of the filter
显示signature(object = "SRFilter"):显示过滤器的简要
coerce signature(from = "SRFilter", to = "FilterRules"): Coerce a filter to a FilterRules object of length one.
要挟signature(from = "SRFilter", to = "FilterRules"):强制过滤器FilterRules长度为1的对象。
c signature(x = "SRFilter", ...): Combine filters into a single FilterRules object.
Csignature(x = "SRFilter", ...):合并成一个单一的FilterRules对象的过滤器。
作者(S)----------Author(s)----------
Martin Morgan <mtmorgan@fhcrc.org>
参见----------See Also----------
srFilter for predefined and user-defined filters.
srFilter预定义和用户定义的过滤器。
举例----------Examples----------
## see ?srFilter[#看到了什么?srFilter]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|