Skip to content

Commit

Permalink
Merge pull request #31 from mancusolab/test_spectral
Browse files Browse the repository at this point in the history
enhance documentation
  • Loading branch information
zeyunlu committed Sep 26, 2023
2 parents 6870c14 + 1093643 commit d6f9523
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,13 @@ For ``*.meta.cs.tsv``, it will row-bind the output for single-ancestry SuShiE di
Full Credible Set with Alphas
-----------------------------

By specifying ``--alphas``, SuShiE outputs a ``*.alphas.tsv`` file that tracks all the SNPs' PIP, :math:`\alpha` (see :ref:`Model`), whether in the credible set across all :math:`L`.
By specifying ``--alphas``, SuShiE outputs a ``*.alphas.tsv`` file that tracks all the SNPs' PIP, :math:`\alpha` (see :ref:`Model`), and purity across all :math:`L`.

If ``--meta`` and ``--mega`` are specified (see definitions in :ref:`meta`), it will output ``*.meta.alphas.tsv`` and ``*.mega.alphas.tsv``, respectively, to track the information inferred by meta SuShiE and mega SuShiE.

For ``*.meta.alphas.tsv``, it will row-bind the output for single-ancestry SuShiE differed by column ``ancestry``.


.. list-table::
:header-rows: 1

Expand Down Expand Up @@ -147,7 +148,7 @@ For ``*.meta.alphas.tsv``, it will row-bind the output for single-ancestry SuShi
- Integer
- 0, 1
- The indicator whether the SNP is in the first credible set. Depending on ``--L``, it can have extra columns.
* - purity_l1
* - purity_l1
- float
- 0.634
- The sample-size-weighted average purity across ancestries. To compare with the ``--purity``, it will decide the value in ``in_cs_l1``. Depending on ``--L``, it can have extra columns.
Expand All @@ -172,6 +173,7 @@ For ``*.meta.alphas.tsv``, it will row-bind the output for single-ancestry SuShi
- sushie, mega, ancestry_1
- The inference method for this credible set.


.. _weightsfile:
Prediction Weights
------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Version History
- Update io.corr function so that report all the correlation results no matter cs is pruned or not.
* - 0.13
- Add ``--keep`` command to enable user to specify a file that contains the subjects ID SuShiE will perform on. Add ``--ancestry_index`` command to enable user to specify a file that contains the ancestry index for fine-mapping. With this, user can input single phenotype, genotype, and covariate file that contains all the subjects across ancestries. Implement padding to increase inference time. Record elbo at each iteration and can access it in the ``infer.SuShiEResult`` object. The alphas table now outputs the average purity and KL divergence for each ``L``. Change ``--kl_threshold`` to ``--divergence``. Add ``--maf`` command to remove SNPs that less than minor allele frequency threshold within each ancestry. Add ``--max_select`` command to randomly select maximum number of SNPs to compute purity to avoid unnecessary memory spending. Add a QC function to remove duplicated SNPs.
* - 0.14
- Remove KL-Divergence pruning. Enhance command line appearance and improve the output files contents. Fix small bugs on multivariate KL.
* - 0.14
- Remove KL-Divergence pruning. Enhance command line appearance and improve the output files contents. Fix small bugs on multivariate KL.

0 comments on commit d6f9523

Please sign in to comment.