dot-topo_ic_sim_geneset: GAPGOM internal - .topo_ic_sim()

Description Usage Arguments Details Value Notes References


This function is an internal function and should not be called by the user.


.topo_ic_sim_geneset(gene_list1, gene_list2, topoargs)



The first gene vector of gene IDs. Note; THIS IS NOT THE ENSEMBLID. Instead use the gene ID adopted by NCBI.


Same type as gene_list1, will be compared to gene_list1.


list containing all the neccesary paramters/arguments for the topoicsim algorithm, details can be view in the ".prepare_variables_topoicsim" function.


Algorithm to calculate similarity between two gene vectors. This function is made for calculating topological similarity between two gene lists of which each gene has its GO terms in the GO DAG structure. The topological similarity is based on edge weights and information content (IC). The output it a nxn matrix depending on the vector lengths. Intraset similarity can be calculated by comparing the same gene vector to itself and using mean() on the output. The same can be done for Interset similarity, but between two different gene lists. [1]


List containing the following; $GeneSim; similarity between genes taken from the mean of all term similarities within those genes. (matrix of similarities between genes). Take the mean of this matrix to either get the InterSetSim or IntraSetSim depending on your input. $AllGoPairs; All possible GO combinations with their semantic distances (matrix)


Internal function used in (topo_ic_sim_genes()).


[1] Ehsani R, Drablos F: TopoICSim: a new semantic similarity measure based on gene ontology. BMC Bioinformatics 2016, 17(1):296)

GAPGOM documentation built on Nov. 8, 2020, 8:08 p.m.