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

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

[复制链接]
发表于 2012-9-30 11:12:18 | 显示全部楼层 |阅读模式
Fasymp(SNPmaxsel)
Fasymp()所属R语言包:SNPmaxsel

                                        Asymptotical distribution of the maximally selected chi-square statistic
                                         渐近分布的最大选择的卡方统计

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

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

This function computes the asymptotical distribution of the maximally selected chi-square statistic, where maximal selection is performed over the test statistics defined by type or user-defined through groups.
此函数计算的最大选择的卡方统计量,其中最大的选择进行了检验统计量定义的type或用户定义的通过groups的渐近分布。


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


Fasymp(t,a.vec,type=NULL,groups=NULL)



参数----------Arguments----------

参数:t
the value at which the distribution function has to be computed.
分布函数的值,以进行计算。


参数:a.vec
A vector of length K giving the proportion of observations in each category. Its sum must be 1. If type="inter.ord" or "inter.cat", a.vec must have length 9.
一个向量的长度为K的比例在每个类别中的观察。其总和必须为1。如果type=“inter.ord”或“inter.cat”,a.vec必须有长度为9。


参数:type
must be one of "ordinal", "all.pairs", "all.partitions", "inter.ord", "inter.cat", "inter.ord.main". If type=NULL, the chi-square statistics are computed for the groups defined by groups
必须是一个“序号”,“all.pairs”中,“all.partitions”中,“inter.ord”中,“inter.cat”,“inter.ord.main”。如果type=NULL,卡方统计量的计算groups定义的组


参数:groups
If type=NULL, the chi-square statistics are computed for the groups defined by groups. groups must be a list with m elements, where m is the number of considered chi-square statistics. Each element is a list with two elements group1 and group2. groups$group1 and groups$group2 are numeric vectors giving the indices of the categories included in both groups. See example below.
如果type=NULL,卡方统计量计算的groups定义的组。 groups与m个元素,其中m是考虑的卡方统计量的数目必须是一个列表。每个元素都是一个列表有两个元素group1和group2。 groups$group1和groups$group2是给指数的类别,其中包括在这两个群体的数字向量。见下面的例子。


Details

详细信息----------Details----------

This function uses the function pmvnorm from the package mvtnorm. If the considered test statistics are defined by groups, groups should not have more than 100 elements, since the pmvnorm function becomes unstable (or computationally prohibitive) for such a high dimension.
此功能使用功能pmvnorm从包mvtnorm。如果考虑检验统计量定义为groups,groups不应该有超过100个元素,因为pmvnorm函数这么高的尺寸变得不稳定(或计算望而却步)。


值----------Value----------

the value of the distribution function at t.
在t的值的分布函数。


(作者)----------Author(s)----------



Anne-Laure Boulesteix (<a href="http://www.ibe.med.uni-muenchen.de/organisation/mitarbeiter/020_professuren/boulesteix/index.html">http://www.ibe.med.uni-muenchen.de/organisation/mitarbeiter/020_professuren/boulesteix/index.html</a>)






参考文献----------References----------

Boulesteix AL, Strobl C, Weidinger S, Wichmann HE, Wagenpfeil S, 2007. Multiple testing for SNP-SNP interactions. Statistical Applications in Genetics and Molecular Biology 6:37.

参见----------See Also----------

maxsel.asymp.test, maxsel.
maxsel.asymp.test,maxsel。


实例----------Examples----------


# load SNPmaxsel library[加载SNPmaxsel库]
# library(SNPmaxsel)[库(SNPmaxsel)]

Fasymp(t=2,a.vec=c(0.2,0.1,0.05,0.05,0.6),type="ord")
Fasymp(t=2,a.vec=c(0.2,0.1,0.05,0.05,0.6),type="all.pairs")
Fasymp(t=2,a.vec=c(0.2,0.1,0.05,0.05,0.6),type="all.partitions")

Fasymp(t=2,a.vec=c(0.2,0.1,0.1,0.1,0.05,0.05,0.05,0.05,0.3),type="inter.ord")
Fasymp(t=2,a.vec=c(0.2,0.1,0.1,0.1,0.05,0.05,0.05,0.05,0.3),type="inter.cat")

# Creating a user-defined groups list [创建一个用户定义的组列表]
# (correponding to type)="ord" with K=5)[(correponding输入)=“条例”K = 5)]
my.groups<-list(list(group1=1,group2=2:5),list(group1=1:2,group2=3:5),
list(group1=1:3,group2=4:5),list(group1=1:4,group2=5))

Fasymp(t=2,a.vec=c(0.2,0.1,0.05,0.05,0.6),type=NULL,groups=my.groups)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-7 20:46 , Processed in 0.052798 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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