diff --git a/mhcflurry/percent_rank_transform.py b/mhcflurry/percent_rank_transform.py index 80c3240965c9229825b7ff436d729a3b5241f979..7054736db6cfb48d903eb862d9697e77e2eb55d1 100644 --- a/mhcflurry/percent_rank_transform.py +++ b/mhcflurry/percent_rank_transform.py @@ -12,8 +12,14 @@ class PercentRankTransform(object): def fit(self, values, bins): """ - Fit the transform using the given values, which are used to - establish percentiles. + Fit the transform using the given values (in our case ic50s). + + Parameters + ---------- + values : ic50 values + bins : bins for the cumulative distribution function + Anything that can be passed to numpy.histogram's "bins" argument + can be used here. """ assert self.cdf is None assert self.bin_edges is None