@@ -46,11 +46,13 @@ async def load_gene_symbol_map(gene_symbols: list[str], entrez_map: Path | None
4646
4747def abundance_to_bool_group (
4848 context_name ,
49- group_name ,
50- abundance_matrix ,
51- replicate_ratio ,
52- high_confidence_replicate_ratio ,
53- quantile ,
49+ abundance_filepath : Path ,
50+ output_gaussian_img_filepath : Path ,
51+ output_z_score_matrix_filepath : Path ,
52+ abundance_matrix : pd .DataFrame ,
53+ replicate_ratio : float ,
54+ high_confidence_replicate_ratio : float ,
55+ quantile : float ,
5456 output_boolean_filepath : Path ,
5557):
5658 """Convert proteomic data to boolean expression."""
@@ -145,6 +147,8 @@ async def proteomics_gen(
145147 config_filepath : Path ,
146148 matrix_filepath : Path ,
147149 output_boolean_filepath : Path ,
150+ output_gaussian_img_filepath : Path ,
151+ output_z_score_matrix_filepath : Path ,
148152 input_entrez_map : Path | None = None ,
149153 replicate_ratio : float = 0.5 ,
150154 batch_ratio : float = 0.5 ,
@@ -193,12 +197,14 @@ async def proteomics_gen(
193197 # bool_filepath = output_dir / f"bool_prot_Matrix_{context_name}_{group_name}.csv"
194198 abundance_to_bool_group (
195199 context_name = context_name ,
196- group_name = group ,
200+ abundance_filepath = matrix_filepath ,
197201 abundance_matrix = matrix ,
198202 replicate_ratio = replicate_ratio ,
199203 high_confidence_replicate_ratio = high_confidence_replicate_ratio ,
200204 quantile = quantile ,
201205 output_boolean_filepath = output_boolean_filepath ,
206+ output_gaussian_img_filepath = output_gaussian_img_filepath ,
207+ output_z_score_matrix_filepath = output_z_score_matrix_filepath ,
202208 )
203209 to_bool_context (
204210 context_name = context_name ,
0 commit comments