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

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

[复制链接]
发表于 2012-2-25 13:40:23 | 显示全部楼层 |阅读模式
writeHeinz(BioNet)
writeHeinz()所属R语言包:BioNet

                                         Write input files for HEINZ
                                         写输入亨氏文件

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

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

Function to write the input files with the node and edge scores for HEINZ. These files are used to calculate the maximum scoring subnetwork of the graph. The node scores are matched by their names to the nodes of the network, therefore if  nodes.scores are provided as a vector or matrix, the vector has to be named, respectively the matrix has to be provided with rownames. If the network contains more nodes than the score vector, the nodes without a score are scored with the average over all nodes. If the nodes should not be scored and used for the calculation of the  maximum scoring subnetwork, draw a subnetwork (subNetwork) first and use this for the argument network. The edge scores can be provided as a vector or matrix as the edge.scores argument. If no scores are provided in the arguments, but  the use.node.scores or use.edge.scores argument is set to TRUE, it will be automatically looked for the "score" attribute of the nodes and edges of the network.
函数写输入文件与亨氏的节点和边的分数。这些文件被用来计算图形的最高得分子网。节点的分数是由他们的名字相匹配的网络节点,向量或矩阵,如果nodes.scores的规定,因此向量已被命名,分别被与rownames提供的矩阵。如果网络中包含多个节点比得分向量,没有得分的节点的所有节点的平均得分。如果节点不应该被拿下,并用于计算的最高得分子网,画一个子网(subNetwork)第一次使用的网络参数。边缘分数,可以提供一个向量或矩阵作为edge.scores参数。如果没有分数提供的参数,但在use.node.scores或use.edge.scores参数设置为TRUE,将自动寻找“得分”的网络节点和边的属性。


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


writeHeinz(network, file, node.scores=0, edge.scores=0, use.node.score=FALSE, use.edge.score=FALSE)



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

参数:network
Network from which to calculate the maximum scoring subnetwork.
从计算的最高得分子网网络。


参数:file
File to write to.
文件写入。


参数:node.scores
Numeric vector or matrix of scores for the nodes of the network. Names of the vector or rownames of the matrix have to correspond to the PPI identifiers of the network. The scores can also be used from the node attribute "score", given one  score for each node.
数字向量或矩阵网络节点的分数。向量或矩阵rownames名称有对应的PPI网络标识符。分数也可以用于从节点的属性“得分”一分给每个节点。


参数:edge.scores
Numeric vector of scores for the edges of the network. Edge scores have to be given in the order of the edges in the network. It is better to append the edge scores as the edge attribute "score" to the network: V(network)\$score and set use.scores to TRUE.
数字矢量网络边缘的分数。边缘的分数都必须为了在网络的边缘。这是更好地追加边缘属性“得分”的网络边缘分数:五(网络)\ $得分和一套use.scores为TRUE。


参数:use.node.score
Boolean value, whether to use the node attribute "score" in the network as node scores.
布尔值,是否使用节点属性“得分”在网络节点的分数。


参数:use.edge.score
Boolean value, whether to use the edge attribute "score" in the network as edge scores.
布尔值,是否使用边缘属性“得分”,在网络边缘分数。


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



Daniela Beisser




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

writeHeinzNodes and writeHeinzEdges
writeHeinzNodes和writeHeinzEdges


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


library(DLBCL)
# use Lymphoma data and graph to find module[使用淋巴瘤的数据和图找到模块]
data(interactome)
data(dataLym)
# get induced subnetwork for all genes contained on the chip[在芯片上包含的所有基因诱导子网]
chipGraph <- subNetwork(dataLym$label, interactome)
score <- dataLym$score001
names(score) <- dataLym$label
## Not run: writeHeinz(network=chipGraph, file="lymphoma_001", node.scores=score, edge.scores=0)[#无法运行:writeHeinz(网络= chipGraph,文件=“lymphoma_001”,node.scores =得分,edge.scores = 0)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-25 05:17 , Processed in 0.026127 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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