Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoqing Fang committed Jun 2, 2017
1 parent bc30ae2 commit c04b844
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
1 change: 1 addition & 0 deletions gseapy/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def gsea_compute(data, gmt, n, weighted_score_type, permutation_type, method,
gene_list=r2['gene_name']

logger.debug("Start to compute enrichment socres......................")

for subset in subsets:
es, ind, RES = enrichment_score(gene_list, gmt.get(subset), w, ranking, None, rs)
enrichment_scores.append(es)
Expand Down
3 changes: 3 additions & 0 deletions gseapy/gsea.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def gsea(data, gene_sets, cls, outdir='GSEA_', min_size=15, max_size=500, permut
:param bool ascending: Sorting order of rankings. Default: False.
:param int processes: Number of Processes you are going to use. Default: 1.
:param list figsize: Matplotlib figsize, accept a tuple or list, e.g. [width,height]. Default: [6.5,6].
:param str format: Matplotlib figure format. Default: 'pdf'.
:param int graph_num: Plot graphs for top sets of each phenotype
Expand Down Expand Up @@ -599,6 +600,7 @@ def ssgsea(data, gene_sets, outdir="GSEA_SingleSample", min_size=15, max_size=50
:param int permutation_num: Number of permutations for significance computation. Default: 1000.
:param str weighted_score_type: Refer to :func:`algorithm.enrichment_socre`. Default:0.25.
:param bool ascending: Sorting order of rankings. Default: False.
:param int processes: Number of Processes you are going to use. Default: 1.
:param list figsize: Matplotlib figsize, accept a tuple or list, e.g. [width,height]. Default: [6.5,6].
:param str format: Matplotlib figure format. Default: 'pdf'.
:param int graph_num: Plot graphs for top sets of each phenotype
Expand Down Expand Up @@ -639,6 +641,7 @@ def prerank(rnk, gene_sets, outdir='GSEA_Prerank', pheno_pos='Pos', pheno_neg='N
:param int max_size: Maximum allowed number of genes from gene set also the data set. Defaults: 500.
:param str weighted_score_type: Refer to :func:`algorithm.enrichment_socre`. Default:1.
:param bool ascending: Sorting order of rankings. Default: False.
:param int processes: Number of Processes you are going to use. Default: 1.
:param list figsize: Matplotlib figsize, accept a tuple or list, e.g. [width,height]. Default: [6.5,6].
:param str format: Matplotlib figure format. Default: 'pdf'.
:param int graph_num: Plot graphs for top sets of each phenotype
Expand Down

0 comments on commit c04b844

Please sign in to comment.