From 4fbdd62c407b3ae5b799bcaf2ad42c28e66984b3 Mon Sep 17 00:00:00 2001 From: Tim O'Donnell <timodonnell@gmail.com> Date: Wed, 15 Nov 2017 18:54:35 -0500 Subject: [PATCH] comment tweak --- mhcflurry/percent_rank_transform.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mhcflurry/percent_rank_transform.py b/mhcflurry/percent_rank_transform.py index 80c32409..7054736d 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 -- GitLab