Skip to content

Commit

Permalink
Update dcZscore.R
Browse files Browse the repository at this point in the history
Bug fix in fdr
  • Loading branch information
Malvikakh authored Jul 5, 2024
1 parent 8958d61 commit 70f183f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dcZscore.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dcZscore <-
fdr = fdr[, -(1:2)]
fdr = unique(fdr)
fdr$fdr = stats::p.adjust(fdr$value, method = 'fdr')
fdr = fdr[fdr$fdr < fdrthresh, -1]
fdr = fdr[fdr$fdr <= fdrthresh, -1]
colnames(fdr) = c('from', 'to', 'fdr')

#annotate df
Expand Down

0 comments on commit 70f183f

Please sign in to comment.