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

R语言 globaltest包 gt.object class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 20:44:12 | 显示全部楼层 |阅读模式
gt.object class(globaltest)
gt.object class()所属R语言包:globaltest

                                        Class "gt.object" for storing the result of the function gt
                                         使类的“gt.object”存储的功能GT

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

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

The class gt.object is the output of a call to
类gt.object是一个调用的输出


插槽----------Slots----------

These slots are not meant to be directly accessed by the user.
这些插槽并不意味着可以由用户直接访问。




result: Object of class "matrix". The number of rows of this matrix is the number of tests performed. The matrix has at least the columns "p-value", "Statistic" "Expected", "Std.dev", and "#Cov".
result:类“矩阵”的对象。这个矩阵的行数是进行测试的数目。矩阵有至少列“P值”,“统计”,“预期”,“Std.dev”,“#冠状病毒”。




extra: Object of class "data.frame". Holds additional information that may be added later about the tests performed, such as multiplicity-adjusted p-values (see p.adjust), alias names for tests and comparative proportions (see comparative).
extra:“data.frame”类的对象。持有的其他信息,进行的测试,如多重调整后的P-值(见p.adjust),别名为测试和相对比例的名字,以后可能会增加(见comparative)。




call: The matched call to gt.
call:gt匹配的呼叫。




functions: A "list" of various functions used by the covariates and subjects functions and the various methods.
functions:covariates和subjects功能和各种方法所使用的各种功能的“名单”。




subsets: A "list" or "NULL". Stores the subsets tested, if more than one.
subsets:“名单”或“空”。店子集测试,如果超过一个。




structure: A "list" or "NULL". Stores subset and superset relationships between the sets in the "subsets" slot.
structure:“名单”或“空”。店子集和超集关系中的“子集”老虎套。




weights: A "list" or "NULL". Stores the weight vectors used for testing, if more than one.
weights:“名单”或“空”。存储向量用于测试的重量,如果超过一个。




alternative: If gt was called with x = TRUE, stores the design matrix of the alternative hypothesis; "NULL" otherwise.
alternative:如果gt被称为x = TRUE,商店设计矩阵替代假说“空”,否则。




null: If gt was called with x = TRUE, stores the design matrix of the null hypothesis; "NULL" otherwise.
null:如果gt被称为x = TRUE,专卖店的设计矩阵的零假设“空”,否则。




directional Stores the directional argument of the call to gt.
directional存储directional调用gt的参数。




legend Object of class "list". Stores appropriate legends for the covariates and subjects plots.
legend类“名单”的对象。 covariates和subjects图店适当的传说。




model Object of class "character". Stores the model.
model类的“性格”的对象。存储模型。


方法----------Methods----------




show (gt.object): Prints the test results: p-value, test statistic, expected value of the test statistic under the null hypothesis, standard deviation of the test statistic under the null hypothesis, and number of covariates tested.
秀(gt.object):打印测试结果:P-值,测试统计,预计零假设下检验统计量的值的标准偏差,零假设下检验统计量,并测试协变量的数量。




summary (gt.object): Prints the test results (as show) plus additional information on the model and the test.
摘要(gt.object):打印测试结果(show),再加上额外的信息模型和测试。




p.value (gt.object): Extracts the p-values.
p.value(gt.object):提取的P-值。




z.score (gt.object): Extracts z-score: (Test statistic - Expected value) / Standard deviation.
z.score(gt.object):提取物Z-评分:(测试统计 - 预期值)/标准差。




result (gt.object): Extracts the results matrix together with the additional (e.g. multiple testing) information in the extra slot.
结果(gt.object):连同额外的(如多个测试中提取的结果矩阵)extra插槽信息。




extract (gt.object): Extracts the results matrix for the leaf nodes after a call to link{covariates}, with information on direction of association.
提取物(gt.object):解压缩后,调用关联的方向上的信息link{covariates},叶节点的结果矩阵。




sort (gt.object): Sorts the pathways to increasing p-values. Equal p-values are sorted on decreasing z-scores.
(gt.object)排序:排序的途径,以提高p-值。等于p值均减少Z-分数排序。




"[" (gt.object): Extracts results of one or more test results if multiple tests were performed. Identical to "[[".
“[”(gt.object):提取物进行了一个或多个测试结果,如果有多个测试的结果。相同的“[”。




"[[" (gt.object): Extracts results of one or more test results if multiple tests were performed. Identical to "[".
“[”(gt.object):提取的结果,如果一个或多个测试结果进行了多项测试。相同的“[”。




length (gt.object): The number of tests performed.
长度(gt.object)进行的测试。




size (gt.object): Extracts a vector with the number of alternative covariates tested for each test.
每个测试的测试替代协变量的数目大小(gt.object):提取物向量。




names (gt.object): Extracts the row names of the results matrix.
名称(gt.object):提取的结果矩阵的行名。




names<- (gt.object): Changes the row names of the results matrix. Duplicate names are not allowed, but see alias.
名< - (gt.object):改变的结果矩阵的行名。重复的名字是不允许的,但看到alias。




alias (gt.object): Extracts the "alias" column of the results matrix that can be used to add additional information on each test perfomed.
别名(gt.object):提取的结果矩阵可以用来添加额外的信息,俟测试对每个列的“别名”。




alias<- (gt.object): Changes the "alias" column of the results matrix. Note that unlike for names, duplicate aliases are allowed.
别名< - (gt.object):改变“别名”的结果矩阵的列。请注意,姓名不同,允许重复的别名。




weights (gt.object): extracts the effective weights of the covariates as they are used internally by the test.
重量(gt.object):提取有效的,因为他们是内部测试使用的协变量的权重。




subsets (gt.object): extracts the "subsets" slot.
群(gt.object):提取“子集”老虎。




hist (gt.object): Produces a histogram to visualize the permutation test statistics. Only relevant after permutation testing.
历史(gt.object):生成直方图可视化排列的测试统计。仅排列测试后有关。




covariates (gt.object): Produces a plot to show the influence of individual covariates on the test result. See covariates for details.
变项(gt.object):产生一个图上的测试结果显示个别变项的影响。看到covariates详情。




subjects (gt.object): Produces a plot to show the influence of individual subjects on the test result. See subjects for details.
科目(gt.object):产生一个图上的测试结果显示个别科目的影响。看到subjects详情。




p.adjust (gt.object): Performs multiple testing correction and produces multiplicity-corrected p-values. See p.adjust for details.
p.adjust(gt.object):执行多个测试校正,并产生多重校正p值。看到p.adjust详情。




comparative (gt.object): Compares the p-values of tests performed on a subsets or weights with p-values of random subsets of covariates of same size or randomly distributed weights.  See comparative for details.
比较(gt.object):比较p值大小相同的协变量或随机分布的重量随机子集的一个子集或重量进行测试的p值。看到comparative详情。




sterms (gt.object): Prints the smooth terms specified by gtPS,  gtKS or gtLI.
sterms(gt.object):打印gtPS,gtKS或gtLI指定的顺利条款。


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


Jelle Goeman: <a href="mailto:j.j.goeman@lumc.nl">j.j.goeman@lumc.nl</a>; Jan Oosting



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

gt, covariates, subjects.
gt,covariates,subjects。


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


    # Simple examples with random data here[简单的例子,与这里的随机数据]
    # Real data examples in the Vignette[真实数据的例子中的小插曲]

    # Random data: covariates A,B,C are correlated with Y[随机数据:协变量,B,C是与Y相关]
    Y <- rnorm(20)
    X <- matrix(rnorm(200), 20, 10)
    X[,1:3] <- X[,1:3] + 0.5*Y
    colnames(X) <- LETTERS[1:10]

    # Make a gt.object[制作1 gt.object]
    sets <- list(odd = c(1,3,5,7,9), even = c(2,4,6,8,10))
    res <- gt(Y, X, subsets=sets)

    # Show the results[显示结果]
    res
    summary(res)
    sort(res)
    p.value(res)
    subsets(res)

    # Names[名称]
    names(res)
    names(res) <- c("ODD", "EVEN")
    alias(res) <- c("odd covariates", "even covariates")

    # Multiple testing[多个测试]
    p.adjust(res, method = "holm")
    p.adjust(res, method = "BH")

    # Diagnostics[诊断]
    weights(res)
    covariates(res[1])
    extract(covariates(res[1]))
    subjects(res[1])

    # Permutation testing[置换测试]
    res <- gt(Y, X, perm = 1e4)
    hist(res)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 23:19 , Processed in 0.030241 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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