Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
81eb2b81
Commit
81eb2b81
authored
Jan 01, 2017
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
motif_significance(): Fix default arguments
parent
2e4e4cd6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/graph_tool/clustering/__init__.py
src/graph_tool/clustering/__init__.py
+2
-2
No files found.
src/graph_tool/clustering/__init__.py
View file @
81eb2b81
...
...
@@ -441,7 +441,7 @@ def _graph_sig(g):
def
motif_significance
(
g
,
k
,
n_shuffles
=
100
,
p
=
1.0
,
motif_list
=
None
,
threshold
=
0
,
self_loops
=
False
,
parallel_edges
=
False
,
full_output
=
False
,
shuffle_model
=
"
uncorrelated
"
):
full_output
=
False
,
shuffle_model
=
"
configuration
"
):
r
"""
Obtain the motif significance profile, for subgraphs with k vertices. A
tuple with two lists is returned: the list of motifs found, and their
...
...
@@ -475,7 +475,7 @@ def motif_significance(g, k, n_shuffles=100, p=1.0, motif_list=None,
of each motif, the average count of each motif in the shuffled networks,
and the standard deviation of the average count of each motif in the
shuffled networks.
shuffle_model : string (optional, default: "
uncorrelated
")
shuffle_model : string (optional, default: "
configuration
")
Shuffle model to use. See :func:`~graph_tool.generation.random_rewire`
for details.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment