Skip to content

Commit

Permalink
Update segmentation.R
Browse files Browse the repository at this point in the history
  • Loading branch information
akdess committed Feb 5, 2020
1 parent 5f1e627 commit 3d0c99b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/segmentation.R
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ PerformSegmentationWithHMM <- function(object, cnv.scale, removeCentromere = T,
for (i in 1:dim(data)[2]) {
rdata <- RangedData(IRanges(start = annotation$start, end = annotation$end), space = annotation$cytoband, copy = data[,
i])
rdata <- data.frame(rdata)
hmm.segments <- HMMsegment(rdata, param = object@hmmparam, verbose = F)
segments <- rbind(segments, data.frame(ID = colnames(data)[i], hmm.segments$segs))
}
Expand Down

0 comments on commit 3d0c99b

Please sign in to comment.