calcPBChiSquare(flowStats)
calcPBChiSquare()所属R语言包:flowStats
Probability binning metirc for comparing the probability binned
概率比较概率分级分级metirc
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function calculates the Probability binning metric proposed by Baggerly et al. The function utilizes the data binned using the proBin and binByRef functions.
此函数计算由Baggerly等提出的概率分级指标。该功能利用使用proBin和binByRef功能分级的数据。
用法----------Usage----------
calcPBChiSquare(ctrlRes,sampRes,ctrlCount,sampCount)
参数----------Arguments----------
参数:ctrlRes
The result generated by calling the probBin function on a control dataset.
控制数据集通过调用probBin函数生成的结果。
参数:sampRes
The result generated by calling the byByRef function on a test sample dataset
测试样本数据集通过调用byByRef函数产生的结果
参数:ctrlCount
The number of events in the control sample
在控制样本的事件的数目
参数:sampCount
The number of events in the test sample being compared
事件在试验样品的数量进行比较
值----------Value----------
A list containing the statistic, p.value, observed, expected counts and the residuals
一个列表,包含统计,p.value,观察,预计数和残差
作者(S)----------Author(s)----------
Nishant Gopalakrishnan
参见----------See Also----------
proBin, calcPBChiSquare
proBin,calcPBChiSquare
举例----------Examples----------
data(GvHD)
# flow frame 1 is treated as control dataset and used to generate bins[流1帧被视为控制集和用于生成箱]
resCtrl<-proBin(GvHD[[1]][,c("FSC-H","SSC-H","Time")],200)
plotBins(resCtrl,GvHD[[1]],channels=c("FSC-H","SSC-H","Time"),title="Binned control data")
# Same bins are applied to flowFrame 16[同一箱适用于flowFrame 16]
resSample<-binByRef(resCtrl,GvHD[[16]][,c("FSC-H","SSC-H","Time")])
ctrlCount<-nrow(GvHD[[1]])
sampCount<-nrow(GvHD[[16]])
stat<-calcPBChiSquare(resCtrl,resSample,ctrlCount,sampCount)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|