Module for conducting analysis of overrepresentation of gene sets in all signal pathways of Reactome with construction of dendrogram of intersection of overrepresented pathways taking into account weight parameter
| Function | dendro |
The function performs an overrepresentation analysis and draws a dendrogram of signaling pathways taking into account the weight of the genes included in them. |
| Function | _create |
Create a similarity matrix for a given pathway-geneset dataset. :param dict gene_sets: pathway gene set dictionary :rtype: pandas.DataFrame :returns: similarity matrix |
| Function | _dendro |
Create DataFrame for dendrogram ploting |
| Function | _get |
Undocumented |
| Function | _get |
Graph of pathway construction |
| Function | _reac |
parsing reactome output |
| Function | _reactome |
the function receives data from Reactome via reactome2py.analysis |
The function performs an overrepresentation analysis and draws a dendrogram of signaling pathways taking into account the weight of the genes included in them.
Attributes: ----- gene_set : list of genes gene_weights : dict {gene:weights} species : str, species in Reactome out_path : str, where the plot will be saved
Create a similarity matrix for a given pathway-geneset dataset. :param dict gene_sets: pathway gene set dictionary :rtype: pandas.DataFrame :returns: similarity matrix
Create DataFrame for dendrogram ploting
Attributes: ----- ReactomeRes : result of _reac_pars() G : result of _get_net()