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

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

[复制链接]
发表于 2012-2-25 16:24:48 | 显示全部楼层 |阅读模式
getSignedGraph(DEGraph)
getSignedGraph()所属R语言包:DEGraph

                                        Given a graph, builds a signed version of the adjacency matrix taking into account the type of interaction (e.g., activation or
                                         鉴于图,邻接矩阵建立一个签名版本,考虑到互动式(例如,激活或

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

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

Given a graph, builds a signed version of the adjacency matrix taking into account the type of interaction (e.g., activation or inhibition).
给定一个图,建立了邻接矩阵,考虑到互动式(例如,激活或抑制)签署的版本。


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


getSignedGraph(graph, positiveInteractionLabels=c("activation", "expression"), negativeInteractionLabels=c("inhibition", "repression"), verbose=FALSE)



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

参数:graph
A graph object.
一个graph对象。


参数:positiveInteractionLabels
A character vector specifying which interaction labels correspond to positive interactions. Defaults to 'c("activation", "expression")'.
一个charactervector,指定互动标签对应的良性互动。默认“C(”激活“,”表情“)。


参数:negativeInteractionLabels
A character vector specifying which interaction labels correspond to negative interactions. Defaults to 'c("inhibition", "repression")'.
一个charactervector,指定互动标签对应的负面相互作用。默认“C(”紧箍咒“,”镇压“)。


参数:verbose
If TRUE, extra information is output.
如果TRUE,输出额外的信息。


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

This function returns a squared matrix whose (i,j) entry is:
这个函数返回一个平方矩阵(I,J)项:




0 if edges i and j are not connected
如果边缘i和j不连接




1 if edges i and j are connected by a positive interaction
1,如果边缘,i和j连接一个良性互动




-1 if edges i and j are connected by a negative interaction.
-1如果i和j的边缘连接负作用。

By construction, the absolute value of this matrix is the adjacency matrix of the graph. Edges which cannot interpreted as corresponding to a positive or a negative interaction are marked as not connected.
通过建设,这个矩阵的绝对值是该图的邻接矩阵。这不能解释为相应的积极或消极的相互作用的边缘标记为未连接。


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


Laurent Jacob, Pierre Neuvial and Sandrine Dudoit



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


data("Loi2008_DEGraphVignette")
exprData <- exprLoi2008
rn <- rownames(exprData)

## Retrieve expression levels data for genes from one KEGG pathway[#从一个KEGG通路的基因表达水平的数据检索]
graph <- grListKEGG[[1]]
pname <- attr(graph, "label")
cat(verbose, "Pathway name: ", pname)

sgraph <- getSignedGraph(graph, verbose=TRUE)
print(sgraph)

graphList <- getConnectedComponentList(graph, verbose=TRUE)
print(graphList)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 04:26 , Processed in 0.019794 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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