Subset(plateCore)
Subset()所属R语言包:plateCore
Subset
子集
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Select a subset of events in a flowPlate. If a flowPlate and filter are supplied, then this function calls the Subset function from flowCore. Additionally, the plateCore version of Subset also makes it easy to filter individual flowFrames and keep the flowPlate structure.
选择在flowPlate事件的一个子集。如果提供flowPlate和筛选,那么这个函数调用从flowCore的Subset函数。此外,plateCore子集的版本,也可以很容易地过滤个别flowFrames和保持flowPlate结构。
用法----------Usage----------
## S4 method for signature 'flowPlate,ANY'
Subset(x, subset, select=NULL,...)
参数----------Arguments----------
参数:x
A flowPlate
一个flowPlate
参数:subset
A filter object
一个过滤器对象
参数:select
An optional vector of either sample names or Well.IDs.
一个可选的要么样本名称或Well.IDs的的向量。
参数:...
optional arguments
可选参数
值----------Value----------
Returns a flowPlate
返回flowPlate
作者(S)----------Author(s)----------
Errol Strain
举例----------Examples----------
library(plateCore)
data(plateCore)
# Create a flowPlate from the sample data in plateCore[从在plateCore的样本数据,创建1 flowPlate]
fp <- flowPlate(pbmcPlate,wellAnnotation,plateName="P1")
## Create a rectangle filter[#创建一个矩形过滤器]
rectGate <- rectangleGate("FSC-H"=c(300,700),"SSC-H"=c(50,400))
## Apply the filter only to sample A01. The other flowFrames[#应用的过滤器只品尝A01。其他flowFrames]
## are not filtered.[#将不被过滤。]
fp <- Subset(fp,rectGate,'A01')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|