Skip to content

Commit daaa7fe

Browse files
committed
add docs to weight function
1 parent 4cff444 commit daaa7fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NetMSA.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ end
181181
182182
Return the weight of the row, calculated as:
183183
184-
``math
184+
```math
185185
w(r) = \begin{equation*}
186186
\begin{cases}
187187
w_1 \times \frac{x}{c}; & \text{ if r is not aligned} \\
188188
w_2 \times \frac{n_s}{c}; & \text{ if r is aligned} \\
189189
w_3; & \text{ if r is full} \\
190190
\end{cases}
191191
\end{equation*}
192-
``
192+
```
193193
where n_s is the number of occurrences of the symbol s in the aligned row r,
194194
and c is the total number of columns in the row. The value of x is equal to zero
195195
if every symbol in the row r occurred at most once, otherwise x is equal to the

0 commit comments

Comments
 (0)