gateSet-class(prada)
gateSet-class()所属R语言包:prada
'gateSet': 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("gateSet",<br> glist = ...., # object of class list<br> )<br>
对象可以创建使用泛型函数的drawGate或通过参考 new("gateSet",参考 glist = ...., # object of class list参考 )参考方法
插槽----------Slots----------
name: Object of class character giving the name of the object. You can reference the object by its name for subsequent
name:Object类的character对象的名称。你可以通过其名称引用对象为后续
glist: Object of class "list" with items of class gate. The individual gate objects will be combined according to
glist:类项目类"list"gate对象。个人gate对象将根据合并
方法----------Methods----------
applyGate: applyGate(x, data) applies the gating of object x on data objects of class
applyGate:applyGate(x, data)适用对象门x类的数据对象
length length of slot glist
线长度插槽glist
show display summary
显示display summary
names, names<- extract or replace the names of the individual gate
姓名,名称< - 提取或替换个别gate名
[ subset to gateSet
[子集gateSet
[[ subset to individual gate
[子集个人gate
appendGates append a gate or gateSet to a
appendGates追加gate或到gateSet
作者(S)----------Author(s)----------
Florian Hahne
参见----------See Also----------
cytoFrame, gate
cytoFrame,gate
举例----------Examples----------
sampdat <- readFCS(system.file("extdata", "fas-Bcl2-plate323-04-04.A01",
package="prada"))
g1 <- new("gate", name="G1", gateFun=function(x)x[,"FSC-H"]<500, logic="&",
colnames="FSC-H")
g2 <- new("gate", name="G2", gateFun=function(x)x[,"SSC-H"]>800, logic="&",
colnames="SSC-H")
g3 <- new("gate", name="G3", gateFun=function(x)x[,"FL1-H"]>800, logic="&",
colnames="FL1-H")
gs <- new("gateSet", name="Set1", glist=list(G1=g1, G2=g2))
length(gs)
gs[[1]]
gs[1]
gsnames <- names(gs)
names(gs) <- gsnames
applyGate(sampdat, gs)
applyGate(exprs(sampdat), gs)
gate(sampdat) <- gs
applyGate(sampdat, 1)
applyGate(sampdat, "G1")
applyGate(sampdat, TRUE)
appendGates(sampdat, g3)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|