Skip to content

Commit fa2c449

Browse files
committed
deploy: b76e910
1 parent e4d2f87 commit fa2c449

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

.doctrees/api.doctree

1.57 KB
Binary file not shown.

.doctrees/environment.pickle

0 Bytes
Binary file not shown.

api.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ <h2>ovr subpackage<a class="headerlink" href="#ovr-subpackage" title="Link to th
495495

496496
<dl class="py function" id="module-illico.utils.ranking">
497497
<dt class="sig sig-object py" id="illico.utils.ranking.rank_sum_and_ties_from_sorted">
498-
<span class="sig-prename descclassname"><span class="pre">illico.utils.ranking.</span></span><span class="sig-name descname"><span class="pre">rank_sum_and_ties_from_sorted</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">A</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">B</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#illico.utils.ranking.rank_sum_and_ties_from_sorted" title="Link to this definition"></a></dt>
498+
<span class="sig-prename descclassname"><span class="pre">illico.utils.ranking.</span></span><span class="sig-name descname"><span class="pre">rank_sum_and_ties_from_sorted</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">A</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">B</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">zero_values_offset</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">0</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#illico.utils.ranking.rank_sum_and_ties_from_sorted" title="Link to this definition"></a></dt>
499499
<dd><p>Compute rank sums and tie sums from two 1-d sorted arrays.</p>
500500
<p>This routine is similar to the leetcode “merge two sorted arrays”, except it
501501
never returns to sorted array, instead it accumulate rank sums of the second array
@@ -505,7 +505,12 @@ <h2>ovr subpackage<a class="headerlink" href="#ovr-subpackage" title="Link to th
505505
:param A: The first sorted array (controls)
506506
:type A: np.ndarray
507507
:param B: The second sorted array (perturbed)
508-
:type B: np.ndarray</p>
508+
:type B: np.ndarray
509+
:param zero_values_offset: If &gt; 0, it means that there are zeros not present in the input arrays but that
510+
:type zero_values_offset: int
511+
:param they should be accounted for. This is only used when the input adata is sparse:
512+
:param and ranksum is computed:
513+
:param on non zero values.:</p>
509514
<dl class="field-list simple">
510515
<dt class="field-odd">Returns<span class="colon">:</span></dt>
511516
<dd class="field-odd"><p>Ranks sum from the second array, and tie sums for the combined
@@ -518,6 +523,7 @@ <h2>ovr subpackage<a class="headerlink" href="#ovr-subpackage" title="Link to th
518523
<dd class="field-odd"><ul class="simple">
519524
<li><p><strong>A</strong> (<em>numpy.ndarray</em>)</p></li>
520525
<li><p><strong>B</strong> (<em>numpy.ndarray</em>)</p></li>
526+
<li><p><strong>zero_values_offset</strong> (<em>int</em>)</p></li>
521527
</ul>
522528
</dd>
523529
</dl>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)