gate-class(prada)
gate-class()所属R语言包:prada
'gate': a class for subsetting flow-cytometry data by defining
门:一类流式单元仪数据子集定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
In flow-cytometry analysis, regions in two-dimensional projections of the data space often have to be selected. Objects of
在流式单元仪分析,在两维数据空间预测的区域经常有被选中。对象
创建对象----------Creating Objects----------
Objects can be created using methods of the generic function drawGate or via<br> new("gate",<br> gateFun = ...., # function returning logical vector<br> colnames = .... # object of class character and length 2<br> logic = .... # object of class character<br> )<br>
通用功能的drawGate或通过参考 new("gate",参考 gateFun = ...., # function returning logical vector参考 colnames = .... # object of class character and length 2参考 logic = .... # object of class character<的使用方法可以创建对象BR> )参考
插槽----------Slots----------
方法----------Methods----------
applyGate: applyGate(x, data) applies the gating of object x on data objects of class cytoFrame or matrix. In the former case x may be of class gate, gateSet, character, numeric or
applyGate:applyGate(x, data)适用对象门x类的数据对象cytoFrame或matrix。在前者情况下x类gate,gateSet,character,numeric或可能
show display summary.
显示显示摘要。
names, names<- access and replace slot name.
姓名,名称< - 访问和更换插槽的名称。
as.gateSet Convert gate object to gateSet
as.gateSet转换gate gateSet对象的
combineGates Combine multiple gate objects to
combineGates结合多个gate对象
lines Draw the boundaries of the gate.
线条绘制门的界限。
作者(S)----------Author(s)----------
Florian Hahne
参见----------See Also----------
cytoFrame, gateSet
cytoFrame,gateSet
举例----------Examples----------
sampdat <- readFCS(system.file("extdata", "fas-Bcl2-plate323-04-04.A01",
package="prada"))
g1 <- new("gate", name="test1", gateFun=function(x)x[,"FSC-H"]<500, logic="&",
colnames="FSC-H", type="misc")
g1
g2 <- new("gate", name="test2", gateFun=function(x)x[,"SSC-H"]>800, logic="&",
colnames="SSC-H", type="misc")
gs1 <- combineGates(g1,g2)
gs2 <- as.gateSet(g2)
names(g1)
names(g1) <- "testName"
applyGate(sampdat, g1)
applyGate(exprs(sampdat), g2)
gate(sampdat) <- g1
applyGate(sampdat, 1)
applyGate(sampdat, "testName")
applyGate(sampdat, TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|