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

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

[复制链接]
发表于 2012-2-25 18:09:15 | 显示全部楼层 |阅读模式
calcPearsonChi(flowStats)
calcPearsonChi()所属R语言包:flowStats

                                         Pearsons chi-square statistic for comparing the probability
                                         皮尔逊积差卡方统计的概率比较

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function calculates the Pearsons chi-squared statistic for comparing  data binned using the proBin and binByRef functions.Internally, the  function utilizes the chisq.test function.
此函数计算比较数据分级使用皮尔逊积差卡方统计proBin和binByRef:functions.Internally,功能利用chisq.test的功能。


用法----------Usage----------


calcPearsonChi(ctrlRes,sampRes)



参数----------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 sample dataset
通过对样本数据集byByRef函数调用产生的结果


值----------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")])
stat<-calcPearsonChi(resCtrl,resSample)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 16:04 , Processed in 0.021477 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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