data2graph(coRNAi)
data2graph()所属R语言包:coRNAi
Function to create .dot files for graph representation of data
函数来创建图表示数据点文件。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
From a interaction table or list of data matrices a .dot file is created for visualisation of the interaction/correlation network
从交互表或数据矩阵列表文件被创建。点互动/相关网络可视化
用法----------Usage----------
data2graph(indata, sizethres=0, thres, thresBy = "P.Value", cols = c("blue", "white", "red"), gamma.col = 1, scaleFactor = 1, nodecolor = "white", writedot = FALSE, filename, width=0.1, penwidth=1, shape='circle', fixedsize=TRUE,fontsize=10)
参数----------Arguments----------
参数:indata
参数:sizethres
numerical, lower treshold on the absolute effect size for edges
数值,较低的传输安全性上绝对的边缘效应大小
参数:thres
threshold that should be used for interactions/correlations to be included in graph
图中包括阈值应为互动/相关
参数:thresBy
what data should the the threshold by used at. By default the p value from the moderated t test is used but one could also use e.g. the ordinary t or the size
什么样的数据应该使用的阈值。默认情况下,从主持的t检验的P值是使用,但也可以使用如普通T或大小
参数:cols
colors to be used in the plot, should be a character vector with the colors for low, neutral and hig values
要在图中使用的颜色,应该是一个特征向量为低,中性和HIG值的颜色
参数:gamma.col
Factor used to scale the colors
用于扩展的颜色的因素
参数:scaleFactor
Scale factor to adjust the distances beteen nodes in the graph
规模因素调整图中的距离承继节点
参数:nodecolor
character or character vector, which color(s) should the nodes have. Should either be of lenth 1 (all nodes same color) or same length as the number of nodes.
字符或向量,它的颜色(S)节点。应该是全长1(相同颜色的所有节点)或节点数目相同的长度。
参数:writedot
logical, should a .dot file be created.
逻辑,应该。dot文件被创建。
参数:filename
charcter string with name of .dot file
charcter字符串。dot文件名称
参数:width
width of the nodes
节点的宽度
参数:penwidth
width of the lines in the plot
图线的宽度
参数:shape
shape of the nodes in the plot
在图中的节点形状
参数:fixedsize
should all nodes have the same size
所有节点应具有相同的大小
参数:fontsize
size of the font in the plot
在图的字体大小
值----------Value----------
a .dot file is written if writefile argument is TRUE
如果WriteFile的参数为TRUE。点文件被写入
参数:ninf
Dataframe with information about the nodes in the network
Dataframe与网络节点的信息
参数:einfo
Dataframe with information about the edges in the network
在网络边缘信息Dataframe
作者(S)----------Author(s)----------
Greg Pau, Elin Axelsson
参见----------See Also----------
Also see Graphviz documantation http://www.graphviz.org/
也看到Graphviz的documantation http://www.graphviz.org/~~V
举例----------Examples----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|