Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed Oct 24, 2023
1 parent 505d10c commit 94be6c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
11 changes: 11 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ When observed ES is not within the null ESs, you'll get 0s. if you don't want 0,
- set the smallest pvalue to 1 / ( number of permutations)
- increase the permutation number (but more running time needed)

**Q:** What are ``gene %``, and ``tag %`` mean in the output?
-----------------------------------------------------------------------

.. math::
\text{gene \\%} = \text{(the position of the gene coresponding to enrichment score peak)} \div \text{(number of all genes in ranking list)}
.. math::
\text{tag \\%} = \text{( number of leading genes)} \div \text{(number of genes in certain pathway that overalpped with the input ranking list)}
Expand Down
10 changes: 6 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Installation
GSEApy is a Python/Rust implementation of **GSEA** and wrapper for **Enrichr**.
--------------------------------------------------------------------------------------------

GSEApy has six subcommands: ``gsea``, ``prerank``, ``ssgsea``, ``replot`` ``enrichr``, ``biomart``.
GSEApy has multiple subcommands: ``gsea``, ``prerank``, ``ssgsea``, ``gsva``, ``replot`` ``enrichr``, ``biomart``.

1. The ``gsea`` module produces **GSEA** results.
The input requries a txt file(FPKM, Expected Counts, TPM, et.al), a cls file, and gene_sets file in gmt format.
Expand All @@ -73,13 +73,15 @@ The input expects a pre-ranked gene list dataset with correlation values, which
3. The ``ssgsea`` module performs **single sample GSEA(ssGSEA)** analysis.
The input expects a gene list with expression values(same with ``.rnk`` file, and gene_sets file in gmt format. ssGSEA enrichment score for the gene set as described by `D. Barbie et al 2009 <http://www.nature.com/nature/journal/v462/n7269/abs/nature08460.html>`_.

4. The ``replot`` module reproduces GSEA desktop version results.
4. The ``gsva`` module performs **GSVA** analysis, which described by `Hänzelmann et al <https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-14-7>`_.

5. The ``replot`` module reproduces GSEA desktop version results.
The only input for GSEAPY is the location to GSEA Desktop output results.

5. The ``enrichr`` module enables you to perform gene set enrichment analysis using ``Enrichr`` API.
6. The ``enrichr`` module enables you to perform gene set enrichment analysis using ``Enrichr`` API.
Enrichr is open source and freely available online at: http://amp.pharm.mssm.edu/Enrichr . It runs very fast and generates results in txt format.

6. The ``biomart`` module helps you convert gene ids using BioMart API.
7. The ``biomart`` module helps you convert gene ids using BioMart API.


GSEApy could be used for **RNA-seq, ChIP-seq, Microarry** data. It's used for convenient GO enrichments and produce **publishable quality figures** in python.
Expand Down

0 comments on commit 94be6c5

Please sign in to comment.