Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Nov 3, 2018
1 parent 2cdadeb commit 2be076d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The X matrix in an epistasis model maps genotypes to epistatic coefficients.
The rows represent the binary representation of genotypes, and the columns
represent the epistatic coefficients. In a "local" epistasis model, an element
in the matrix is ``1`` if the genotype in that element's row has the epistatic
interaction in that elements column.
interaction in that element's column. Otherwise, the element is a ``0`` (see the example below).

If you want to generate your own X matrix, you'll the list genotypes (in their
binary representation) and the list of epistatic coefficients you'd like to fit.
If you want to generate your own X matrix, you'll need a list of genotypes (in their
binary representation) and a list of epistatic coefficients you'd like to fit.
Then, you can generate X using the ``get_model_matrix`` function. Here is an example:

**Input**
Expand Down

0 comments on commit 2be076d

Please sign in to comment.