Skip to content

Commit

Permalink
Update combiner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WangHong007 committed Sep 7, 2023
1 parent 954ddec commit cbd26e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibaq/combiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def imputer(self, covariate_to_keep: list = None):

# Keep only rows within covariate_to_keep, you can keep tissue or tissue part you want.
if covariate_to_keep:
self.df = self.df[self.df[self.covariate].isin(groups_to_keep)]
self.df = self.df[self.df[self.covariate].isin(covariate_to_keep)]

# keep columns with at least 30% of non-missing values in each covariate_index group
self.df = filter_missing_value_by_group(self.df,
Expand Down

0 comments on commit cbd26e9

Please sign in to comment.