Skip to content

Commit b9d739d

Browse files
committed
add docs to weight function
1 parent da68110 commit b9d739d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/NetMSA.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ Return the weight of the row, calculated as:
186186
```
187187
188188
```math
189-
w(r) = \\begin{gather*}
190-
\\begin{cases}
191-
w_1 \\times \\frac{x}{c}; & \\text{ if r is not aligned} \\
189+
w(r) = \begin{gather*}
190+
\begin{cases}
191+
w_1 \times \frac{x}{c}; & \text{ if r is not aligned} \\
192192
w_2 \times \frac{n_s}{c}; & \text{ if r is aligned} \\
193193
w_3; & \text{ if r is full} \\
194-
\\end{cases}
195-
\\end{gather*}
194+
\end{cases}
195+
\end{gather*}
196196
```
197197
where n_s is the number of occurrences of the symbol s in the aligned row r,
198198
and c is the total number of columns in the row. The value of x is equal to zero

0 commit comments

Comments
 (0)