From 78f76936338ec731bc187de99c4a4582f744fbc0 Mon Sep 17 00:00:00 2001 From: zqfang Date: Thu, 19 Oct 2023 22:49:44 -0700 Subject: [PATCH] doc --- README.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index faff56c..50f48ea 100644 --- a/README.rst +++ b/README.rst @@ -51,7 +51,7 @@ GSEApy is a Python/Rust implementation for **GSEA** and wrapper for **Enrichr**. GSEApy can be used for **RNA-seq, ChIP-seq, Microarray** data. It can be used for convenient GO enrichment and to produce **publication quality figures** in python. -GSEApy has six sub-commands available: ``gsea``, ``prerank``, ``ssgsea``, ``replot`` ``enrichr``, ``biomart``. +GSEApy has 7 sub-commands available: ``gsea``, ``prerank``, ``ssgsea``, ``gsva``, ``replot`` ``enrichr``, ``biomart``. :gsea: 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. @@ -128,8 +128,12 @@ Dependency Mandatory ~~~~~~~~~ + +build * Rust: For gseapy > 0.11.0, Rust compiler is needed * setuptools-rust + +run * Numpy >= 1.13.0 * Scipy * Pandas @@ -161,6 +165,9 @@ For command line usage: # An example to run ssGSEA using gseapy ssgsea module $ gseapy ssgsea -d expression.txt -g gene_sets.gmt -o test + # An example to run ssGSEA using gseapy ssgsea module + $ gseapy gsva -d expression.txt -g gene_sets.gmt -o test + # An example to use enrichr api # see details for -g input -> ``get_library_name`` $ gseapy enrichr -i gene_list.txt -g KEGG_2016 -o test @@ -185,6 +192,8 @@ Run gseapy inside python console: # run ssGSEA gseapy.ssgsea(data="expression.txt", gene_sets= "gene_sets.gmt", outdir='test') + # run GSVA + gseapy.gsva(data="expression.txt", gene_sets= "gene_sets.gmt", outdir='test') # An example to reproduce figures using replot module. gseapy.replot(indir='./Gsea.reports', outdir='test') @@ -210,7 +219,10 @@ see detail here: `Example