找回密码
 注册
查看: 449|回复: 0

R语言 flowStats包 calcPBChiSquare()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 18:09:10 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-8 19:00 , Processed in 0.020840 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表