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

R语言 les包 chi2,Les-method()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 23:06:02 | 显示全部楼层 |阅读模式
chi2,Les-method(les)
chi2,Les-method()所属R语言包:les

                                        chi2
                                         χ^

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

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

The 'chi2' method can be used to optimize the window size for defined regions of interest. It computes chi^2(w) for window sizes w based on the estimates of Lambda and the false-discovery rate.
“χ^ 2”的方法可以用来定义区域的利益,以优化窗口的大小。它计算chi^2(w)窗口大小w基于Lambda和虚假的发现率的估计。


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


chi2(object, winSize, regions, offset, fdr = "lfdr", method,
scaling = les:::scaleNorm, nCores = NULL,  verbose = FALSE, ...)

## S4 method for signature 'Les'
chi2(object, winSize, regions, offset, fdr = "lfdr",
method, scaling = les:::scaleNorm, nCores = NULL,  verbose = FALSE, ...)



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

参数:object
Object of class 'Les' as returned by 'estimate' or a subsequent step.
作为对象类“莱斯”返回“估计”或后续步骤。


参数:winSize
Integer vector specifying the window sizes w for which chi^2(w) should be computed. For each value of 'winSize' and each region a computation as for 'estimate' is run. For details please see the 'win' argument in 'estimate'.
指定窗口大小的整数向量wchi^2(w)应计算。对于每个winSize“,每个区域为”预算“运行计算的价值。有关详情,请参阅估计的双赢的说法。


参数:regions
Data frame containing the regions of interest. It has to contain the columns 'start', 'end' and 'chr' specifying the start and end position for each region, as well the chromosome if more than one chromosome is present. The structure is related to the 'regions' output of the 'regions' method. If missing the data frame from the 'regions' slot will be used if available. For details please see the 'regions' method.
数据框包含感兴趣的区域。它包含列开始“,”结束“,”CHR“指定每个区域的开始和结束的位置,以及染色体,如果染色体是目前多个。结构与“区域”输出“区域”的方法。如果缺少从“区域”插槽的数据框将用于如果可用。有关详情,请参阅“区域”的方法。


参数:offset
Integer or vector of integers specifying the offset for the regions given by the 'regions' input argument. If missing the regions will be taken as specified. If present start and end of each regions will be taken as 'start - offset' and 'end + offset'.
整数或整数指定为“区域”输入参数区域的偏移向量。如果缺少的区域将被视为指定。如果目前开始和各区域年底将被视为“启动 - 抵销端+偏移。


参数:fdr
Character string specifying the fdr method to use for chi^2 computation (default: 'lfdr'). Possible values are 'lfdr' for local fdr and 'qval' for q-values. For details see the 'Details' section below and the 'fdrtool' package.
字符串指定FDR方法使用chi^2计算(默认:“lfdr”)的。可能的值是lfdr当地FDR和qval Q值。有关详细信息,请参阅“详情”一节和“fdrtool包。


参数:method
Character string specifying the method used for linear regression. It is equivalent to the 'method' argument in the 'estimate' method. If missing the value set in the 'estimate' method will be used.
字符串指定用于线性回归的方法。它是相当于“方法”,“估计”的方法参数。如果缺少在“预算”的方法设置的值将被使用。


参数:scaling
Function specifying the scaling of Lambda and fdr (default: les:::scaleNorm). By default both will be scaled to the range [0,1].
指定的Lambda和FDR的比例(默认:LES ::: scaleNorm)的功能。默认情况下,都将被缩放到区间[0,1]。


参数:nCores
Integer indicating the number of cores to use for computation. This feature requires the 'multicore' package which is only available for certain platforms. The package is used only if 'library(multicore)' has been called manually by the user before and if 'nCores' is an integer unequal NULL specifying the number of cores to use. The value is passed directly to 'mclapply' as argument 'n.cores'. For details and benefits please see the 'Details' section.
整数,指示内核数量计算使用。此功能要求的多核包这是只适用于某些平台。只有当库(多核)已要求用户手动“nCores”是一个整数的不平等NULL,指定使用的核心数量之前,如果使用的包。 “mclapply”参数“n.cores”的值被直接传递。请参阅“详细资料”部分的细节和福利。


参数:verbose
Logical indicating whether the progress of the computation should be printed on screen (default: FALSE).
逻辑表示是否计算的进展,应印在屏幕上(默认:false)。


参数:...
Further arguments passed to subsequent functions.
进一步的参数传递给后续的功能。


Details

详情----------Details----------

The 'chi2' method can be used to optimize the window size for defined regions of interest. It computes chi^2(w) for each window size w based on the estimates of false-discovery rate (fdr) and Lambda(w) with a Leave-One-Out Cross Validation (LOOCV). The shape of the chi^2(w) landscape can constrain suitable values for w.
“χ^ 2”的方法可以用来定义区域的利益,以优化窗口的大小。它计算chi^2(w)每个窗口的大小w假发现率(FDR)和估计的基础上Lambda(w)用假交叉验证(LOOCV)。的chi^2(w)景观的形状,可以限制w合适的值。


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

Object of class 'Les' with additionally filled slots: winSize, chi2
对象类“莱斯”此外填充插槽:winSize,χ2


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



Julian Gehring

Maintainer: Julian Gehring <julian.gehring@fdm.uni-freiburg.de>




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

Package: les-package fdrtool
包装:les-packagefdrtool

Class: Les
类别:Les

Methods and functions: Les estimate threshold regions ci chi2 export plot weighting
方法和功能:Lesestimatethresholdregionscichi2exportplotweighting


举例----------Examples----------


data(spikeInStat)

x <- Les(pos, pval)
x <- estimate(x, 200, weighting=rectangWeight)
x <- threshold(x)
x <- regions(x)

regions <- x["regions"]
winsize <- seq(100, 300, by=20)
x <- chi2(x, winsize, regions, offset=2500)

plot(winsize, x["chi2"], type="b")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 04:06 , Processed in 0.038584 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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