Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ChIA-PET_network
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
ReGArDS
ChIA-PET_network
Commits
39e627ae
Commit
39e627ae
authored
4 years ago
by
nfontrod
Browse files
Options
Downloads
Patches
Plain Diff
src/find_interaction_cluster/clip_figures/__main__.py: add sl_reg parameter
parent
c06baf31
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/find_interaction_cluster/clip_figures/__main__.py
+6
-4
6 additions, 4 deletions
src/find_interaction_cluster/clip_figures/__main__.py
with
6 additions
and
4 deletions
src/find_interaction_cluster/clip_figures/__main__.py
+
6
−
4
View file @
39e627ae
...
@@ -19,9 +19,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
...
@@ -19,9 +19,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
project
:
str
=
"
GSM1018963_GSM1018964
"
,
project
:
str
=
"
GSM1018963_GSM1018964
"
,
test_type
:
str
=
"
permutation
"
,
iteration
:
int
=
10000
,
test_type
:
str
=
"
permutation
"
,
iteration
:
int
=
10000
,
display_size
:
bool
=
False
,
display_size
:
bool
=
False
,
community_file
:
str
=
""
,
community_file
:
str
=
""
,
sl_reg
:
bool
=
False
,
ps
:
int
=
1
,
ps
:
int
=
1
,
logging_level
:
str
=
"
DEBUG
"
)
->
None
:
logging_level
:
str
=
"
DEBUG
"
)
->
None
:
"""
"""
Create the final figure.
Create the final figure.
...
@@ -43,6 +42,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
...
@@ -43,6 +42,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
:param community_file: A file containing custom communities. If
\
:param community_file: A file containing custom communities. If
\
it equals to
''
then weight, global weight and same genes parameter are
\
it equals to
''
then weight, global weight and same genes parameter are
\
used to find the community files computed with ChIA-PET data.
used to find the community files computed with ChIA-PET data.
:param sl_reg: True to display the FaRLine regulation of the
\
same factor, False to not display it.
:param ps: The number of processes to create (default 1)
:param ps: The number of processes to create (default 1)
:param logging_level: The level of data to display (default
'
DISABLE
'
)
:param logging_level: The level of data to display (default
'
DISABLE
'
)
:return: The final dataframe that can be used to create clip figures
:return: The final dataframe that can be used to create clip figures
...
@@ -57,7 +58,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
...
@@ -57,7 +58,8 @@ def clip_analysis(clip_folder: str, weight: int = -1,
raise
NotADirectoryError
(
f
"
{
clip_folder
}
is not an existing directory
"
)
raise
NotADirectoryError
(
f
"
{
clip_folder
}
is not an existing directory
"
)
clip_folder_analysis
(
clip_folder
,
project
,
weight
,
global_weight
,
clip_folder_analysis
(
clip_folder
,
project
,
weight
,
global_weight
,
same_gene
,
feature
,
test_type
,
iteration
,
same_gene
,
feature
,
test_type
,
iteration
,
display_size
,
community_file
,
ps
,
logging_level
)
display_size
,
community_file
,
sl_reg
,
ps
,
logging_level
)
clip_analysis
()
clip_analysis
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment