asalt / bcm-gsea

0 stars 0 forks source link

barplot and heatmaps do not have consistent selection of top n #2

Closed asalt closed 2 months ago

asalt commented 3 months ago

unify the selection process for barplots, heatmaps, and ES plots.

there is a new function in fgsea.R, select_topn, that can be chained after filter_on_mainpathway to perform the selection. this unified interface (function) should make it easier to ensure the "topn" is the same, given the same filtering and limit parameters

asalt commented 2 months ago

they now both use the same select_topn function to perform the selection. further filter args can be passed down/ customized via the bar and heatmap plots individually