Skip to content

Commit

Permalink
docs and community import
Browse files Browse the repository at this point in the history
  • Loading branch information
yollct committed Apr 22, 2022
1 parent 8377b7d commit 2624351
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,6 @@ preprocess

preprocess

connectivity
--------------
.. currentmodule:: spycone.connectivity

.. autosummary::
:template: ./_templates/class.rst
:toctree: generated/

connectivity

iso_function
-------------
Expand Down Expand Up @@ -108,4 +99,17 @@ visualize
spycone.visualize.vis_all_clusters
spycone.visualize.switch_plot
spycone.visualize.gsea_plot


iso_function
-------------
.. currentmodule:: spycone.splicingfactor

.. autosummary::
:template: ./_templates/class.rst
:toctree: generated/

spycone.splicingfactor.SF_coexpression
spycone.splicingfactor.SF_motifsearch


2 changes: 1 addition & 1 deletion spycone/BioNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
"""
if self.path == "human":
#print("Reading edge list and removing loops")
path = os.path.join(dir_path,f'data/network/9606_biogrid_entrez.tab')
path = os.path.join(dir_path,f'data/network/9606_ddi_weighted_biogrid_entrez.tab')
g = nx.read_edgelist(path=path, **self.kwargs)
tmp = 0
for gene in g:
Expand Down
2 changes: 1 addition & 1 deletion spycone/DOMINO/src/core/preprocess_slices.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sys.path.insert(0, "../")
import networkx as nx
import pandas as pd
import community as community_louvain
import community.community_louvain as community_louvain
import numpy as np

def create_slices(network_file, output_file_name, resolution=0.15):
Expand Down

0 comments on commit 2624351

Please sign in to comment.