getSingleLayerGraphIDs(GeneAnswers)
getSingleLayerGraphIDs()所属R语言包:GeneAnswers
retrieve direct interacted nodes for given IDs and interaction Matrix
检索给定的ID和相互作用矩阵的直接互动的节点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A function to retrieve direct interacted nodes for given IDs and interaction Matrix with specified filtered IDs.
一个函数来检索给定的ID和互动矩阵与指定过滤的ID直接互动的节点。
用法----------Usage----------
getSingleLayerGraphIDs(graphIDs, edgeM, remove=TRUE, filterGraphIDs=NULL, UP=TRUE)
参数----------Arguments----------
参数:graphIDs
a character vector for given IDs
一个给定的ID的特征向量
参数:edgeM
a 2-column Matrix representing connectionship
2列的矩阵代表connectionship
参数:remove
logic, remove the non-connection graphIDs in the return values
逻辑,返回值删除非连接graphIDs
参数:filterGraphIDs
a chacater vector for filtered IDs
一个过滤身份证chacater矢量
参数:UP
logic, determine search Parents or Children. Only valid for directed relation.
逻辑,确定搜索的父母或子女。唯一有效的指挥关系。
Details
详情----------Details----------
edgeM is a 2-column matrix. For directional connection, the direction is from column 1 elements to column 2 elements. For non-directional connection, each connection should be reversely presented twice, one is from column 1 element to column 2 element, while another is from column 2 element to column 1 element. In other words, non-directional connection is considered as two reverse directional connections. filterGraphIDs is used to only keep nodes in filterGraphIDs.
edgeM是一个2列的矩阵。定向连接,方向是从1列2列元素的元素。对于非定向的连接,每个连接反应提出两次,一个是从1元列第2列元素,而另一个是从第2列元素1列元素。换句话说,非定向的连接被视为两个相反方向的连接。 filterGraphIDs用于只保持在filterGraphIDs节点。
值----------Value----------
return a list representing a network.
代表网络返回一个列表。
作者(S)----------Author(s)----------
Gang Feng, Pan Du and Simon Lin
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|