runCompareComplex(ScISI)
runCompareComplex()所属R语言包:ScISI
A function that calls all other types of comparison functions
所有其他类型的比较函数一个函数调用
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function begins by acquiring the same vertex set for both BGMat1 and BGMat2. Then it calls the compareComplex function to calculate three statistics (see compareComplex man page for details). Next it calls calculates a similarity measure (default is Jaccard). Next it calls the runAlignment function to greedily calculate an alignment between BGMat1 and BGMat2.
此功能开始通过收购,为BGMat1和BGMat2相同的顶点集。然后,它调用compareComplex函数计算统计(见详情compareComplex手册页)。接下来,它调用计算相似性度量(默认为Jaccard)。接下来,它调用runAlignment函数,贪婪地计算在BGMat1和BGMat2之间的对齐。
用法----------Usage----------
runCompareComplex(BGMat1, BGMat2, index = "Jaccard", byWhich)
参数----------Arguments----------
参数:BGMat1
The first bipartite graph matrix
第一个二分图矩阵
参数:BGMat2
The second bipartite graph matrix
第二个二分图矩阵
参数:index
The type of similarity index used
使用类型的相似性指数
参数:byWhich
A parameter for the maximizeSimilarity function. It can either be "ROW", "COL", or "BOTH"
一个为maximizeSimilarity函数的参数。它可以是“行”,“胶原”,或“both”
值----------Value----------
The return value of runCompareComplex is a list with the following statistics:
的runCompareComplex的返回值是一个与下面的统计数字:
参数:simInd
The matrix of similarity measures between two bipartite graphs.
两个二分图之间的相似性矩阵措施。
参数:maxIntersect
The output of maximizeSimilarity. A list. The first value is the largest similarity indices between complexes of the row and complexes of the columns if byWhich is "ROW" and vice versa if byWhich="COL". The second value returns the actual complex of highest similarity (column complexes if byWhich="ROW" and row complexes if byWhich="COL"
输出的maximizeSimilarity。一个列表。第一个值是最大的相似性指数之间的行列的复合物和络合物如果byWhich是“行”,反之亦然,如果byWhich =“COL的”。第二个值返回实际复杂的相似性最高(列复合byWhich =“行”和“行如果byWhich =”胶原复合物“
参数:equal
A list of complexes of BGMat1 equal to complexes of BGMat2. The values of the list are the complex, C, of BGMat1, the complex, K, of BGMat2, the cardinality of C, the cardinality of K, and the cardinality of the intersection of C and K
平等BGMat2络合物的BGMat1配合物的列表。该列表的值是复杂的,对BGMat1,复杂,钾,BGMat2,C的基数,基数的K,C和K的交集的基数
参数:toBeRm
A character vector of complexes that should be removed if two bipartite graphs are merged since they would represent redundant complexes. If the function is called on one bi-partite graph, then this vector looks for redundancies within one database and those complexes needs to be removed as well. These complexes are derived from BGMat1 only.
一个应该被删除,如果两个二分图的合并,因为他们将代表多余的复合物复合物的特征向量。如果该功能被称为一个双分图,那么这个向量寻找一个数据库内的裁员,这些复合物以及需要删除。这些复合物的派生只从BGMat1。
参数:subcomplex
A list of complexes of BGMat1 which is contained in complexes of BGMat2 or vice versa. The values of the list are the complex, C, of BGMat1, the complex, K, of BGMat2, the cardinality of C, the cardinality of K, and the cardinality of the intersection of C and K
络合物BGMat2反之亦然所载BGMat1配合物的列表。该列表的值是复杂的,对BGMat1,复杂,钾,BGMat2,C的基数,基数的K,C和K的交集的基数
参数:toBeRmSubC
A character vector. The same as toBeRm but instead of redundant protein complexes, this is a compilation of all the sub-complexes between two bi-partite graph matrices (bi-partite graph matrices need not be different)
字符向量。相同,但作为toBeRm而不是多余的蛋白质复合物,这是两个双分图矩阵(双分图矩阵不必有所不同)之间的所有子复合物的汇编
作者(S)----------Author(s)----------
Tony Chiang
举例----------Examples----------
#go = getGOInfo()[去= getGOInfo()]
#mips = getMipsInfo()[MIPS = getMipsInfo()]
#goM = createGOMatrix(go)[GOM = createGOMatrix(去)]
#mipsM = createMipsMatrix(mips)[mipsM = createMipsMatrix(MIPS)]
#cc = runCompareComplex(mipsM, goM, byWhich = "ROW")[CC = runCompareComplex(mipsM,GOM,byWhich =“列”)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|