geneAnswersConceptRelation(GeneAnswers)
geneAnswersConceptRelation()所属R语言包:GeneAnswers
Display a network related to given concepts for a GeneAnswers instance
显示给定的概念相关的网络为GeneAnswers实例
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A function to display a network related to given concepts of a GeneAnswer instance
一个给定的概念一个GeneAnswer实例显示有关网络的功能
用法----------Usage----------
geneAnswersConceptRelation(x, showCats=c(1:5), conceptsIDs=NULL, directed=TRUE, direction=c('down', 'up', 'both'), catTerm=TRUE, catID=FALSE, nameLength='all', ...)
参数----------Arguments----------
参数:x
a GeneAnswers instance
1 GeneAnswers实例
参数:showCats
a numeric or string vector specified categories
一个数字或字符串向量指定的类别
参数:conceptsIDs
a vector or a data frame or matrix containing possible relative concepts, see details
向量或一个数据框或矩阵含有可能相对的概念,见详情
参数:directed
logic, the network is a directed or not
逻辑,网络是一个定向或不
参数:direction
search direction, it could be 'up', 'down' and 'both'. Valid for directed network only.
搜索方向,它可能是“”,“下”和“都”。仅向网络有效。
参数:catTerm
a logic value to specify whether mapping category IDs to category names
一个逻辑值,指定是否映射的类别ID类别名称
参数:catID
a logic value to specify whether show category IDs when catTerm is set to TRUE
一个逻辑值,指定是否显示类别ID设置为TRUE时catTerm
参数:nameLength
show how many first letters for long term names, 'all' for full name
显示术语的名字多少的第一个字母,“所有”的全名
参数:...
other parameters used by 'getConnectedGraph'
使用getConnectedGraph“的其他参数
Details
详情----------Details----------
conceptsIDs could be a character vector or a data frame or a matrix. As a character vector, it is a group of concept IDs or names depending on the given GeneAnswers instance, which are used to be a group of filters to draw a network relative to given concepts specified by showCats. When it is a data frame or matrix, it could be a 2- or 3-column data frame or matrix. The column 2 is always used to be represent nodes color, while the 3rd column is for size of nodes if available.
conceptsIDs可能是一个特征向量或一个数据框或一个矩阵。作为一个特征向量,这是一个组的概念取决于给予GeneAnswers实例,这是一个过滤器组画一个网络相对showCats指定给定的概念上的标识或名称。当它是一个数据框或矩阵,也可能是2 - 3列的数据框或矩阵。 2栏总是要代表节点的颜色,而第三列是如果可用的节点的大小。
值----------Value----------
return a invisible list representing the network.
返回一个无形的名单,代表网络。
作者(S)----------Author(s)----------
Gang Feng, Pan Du and Simon Lin
参考文献----------References----------
<h3>See Also</h3>
举例----------Examples----------
require(GeneAnswers)
example(GeneAnswers)
## Not run: geneAnswersConceptRelation(x, UP=FALSE, directed=TRUE, netMode='connection')[#无法运行:geneAnswersConceptRelation(X,高达= FALSE时,定向= TRUE时,netMode =连接)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|