Skip to content

Commit

Permalink
Attempt in fixing #363.
Browse files Browse the repository at this point in the history
  • Loading branch information
lima1 committed Apr 24, 2024
1 parent e8ea7b3 commit 822e4df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/segmentationCBS.R
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ plot.cnv = TRUE, max.segments = NULL, min.logr.sdev = 0.15, chr.hash = chr.hash)
}

.getAverageWeightPV <- function(seg, weights, perm = 2000) {
perm <- min(length(weights), 2000)
num_marks <- sort(unique(seg$num.mark))
.do_permutation <- function(i, l) {
if (l > 25) return(0)
Expand Down

0 comments on commit 822e4df

Please sign in to comment.