Skip to content
Snippets Groups Projects
Commit 59c9b619 authored by nfontrod's avatar nfontrod
Browse files

add a cell line parameter

parent 55dcced8
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt', ...@@ -22,6 +22,7 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt',
same_gene: bool = False, compute_mean: bool = True, same_gene: bool = False, compute_mean: bool = True,
iteration: int = 10000, kind: str = 'density', iteration: int = 10000, kind: str = 'density',
community_size: int = -1, inflation: float = 1.5, community_size: int = -1, inflation: float = 1.5,
cell_line: str = "ALL",
inter_chr: bool = False, inter_chr: bool = False,
level: str = "exon", level: str = "exon",
logging_level: str = "DISABLE"): logging_level: str = "DISABLE"):
...@@ -50,6 +51,8 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt', ...@@ -50,6 +51,8 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt',
than community size. if community_size = -1. This option is deactivated. than community size. if community_size = -1. This option is deactivated.
:param inflation: The inflation parameter. This parameter is used only \ :param inflation: The inflation parameter. This parameter is used only \
if community size is not -1. (default 1.5). if community size is not -1. (default 1.5).
:param cell_line: Interactions are only selected from projects made on \
a specific cell line (ALL to disable this filter). (default ALL)
:param inter_chr: True to only get inter-chromosomal interactions \ :param inter_chr: True to only get inter-chromosomal interactions \
False else (default: False) False else (default: False)
:param level: The kind of feature to analyse (exon or gene) :param level: The kind of feature to analyse (exon or gene)
...@@ -60,7 +63,7 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt', ...@@ -60,7 +63,7 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt',
community_size = None community_size = None
if kind == "density": if kind == "density":
create_all_frequency_figures(ConfigNt.cpu, weight, global_weight, create_all_frequency_figures(ConfigNt.cpu, weight, global_weight,
ft_type, same_gene, inflation, ft_type, same_gene, inflation, cell_line,
compute_mean, community_size, inter_chr, compute_mean, community_size, inter_chr,
level, logging_level) level, logging_level)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment