Skip to content

Commit

Permalink
fixed bug with fgsea
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi committed Nov 22, 2024
1 parent 7ef1420 commit 7e3f8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added R/.SubramanianTest.R.un~
Binary file not shown.
3 changes: 2 additions & 1 deletion R/SubramanianTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ setMethod("initialize", "SubramanianTest",
.Object@gsea_power <- gsea_power
.Object@element_score_type <- element_score_type
.Object@test <- function(model) {
listmodelDfFromFile <- model@gmt$list_of_values
listmodelDfFromFile <- lapply(model@gmt$list_of_values,
strsplit, split=" ", fixed=T)
names(listmodelDfFromFile) <- model@gmt$ontology_id
samplesToAnalisys <- model@element_scores
names(samplesToAnalisys) <- model@element_names
Expand Down

0 comments on commit 7e3f8d9

Please sign in to comment.