This PR closes #34 by adding function quantile_filter to ModelBuilder.
How did you implement your changes
Added function quantile_filter to the ModelBuilder class that first calculates the x-quantile of positive cells per tile for each marker and then filters out the tiles whose number of positive cells is below the quantile. Also I aligned prep_data in ModelBuilder with the one that was in PromixNaive before. Thus we can get rid of the one in PromixNaive because it gets inherited from ModelBuilder.
What is the purpose of this PR?
This PR closes #34 by adding function
quantile_filter
toModelBuilder
.How did you implement your changes Added function
quantile_filter
to theModelBuilder
class that first calculates the x-quantile of positive cells per tile for each marker and then filters out the tiles whose number of positive cells is below the quantile. Also I alignedprep_data
inModelBuilder
with the one that was inPromixNaive
before. Thus we can get rid of the one inPromixNaive
because it gets inherited fromModelBuilder
.Remaining issues
None