Skip to content

Commit

Permalink
fix wrong output (lead_gene and heatmap) when permutation_type='gene_…
Browse files Browse the repository at this point in the history
…set' of gsea(), #190
  • Loading branch information
zqfang committed Feb 7, 2023
1 parent 1cdcead commit cddfa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gseapy/gsea.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def run(self):
self.seed,
)
## need to update indices, prerank_rs only stores input's order
gsum.rankings[0] = dat2.values # so compatible with code code below
gsum.rankings[0] = dat2.values # so compatible with code code below
gsum.indices[0] = idx
else: # phenotype permutation
group = list(
Expand Down

0 comments on commit cddfa87

Please sign in to comment.