Skip to content

Commit 4dbe639

Browse files
committed
Minor edits on docstring
1 parent a41d22f commit 4dbe639

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/tests/beagle_numba.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,13 @@ def get_transition_probs(cm, h, ne):
325325
@njit
326326
def compute_forward_matrix(ref_h, query_h, trans_probs, mismatch_probs):
327327
"""
328-
Implement forward algorithm to compute a forward probablity matrix of size (m, h).
328+
Implement Li and Stephens forward algorithm.
329329
330330
Reference haplotypes and query haplotype are subsetted to genotyped positions.
331331
So, they are a matrix of size (m, h) and an array of size m, respectively.
332332
333+
This computes a forward probablity matrix of size (m, h).
334+
333335
:param numpy.ndarray ref_h: Reference haplotypes.
334336
:param numpy.ndarray query_h: One query haplotype.
335337
:param numpy.ndarray trans_probs: Transition probabilities.

0 commit comments

Comments
 (0)