Skip to content

Commit

Permalink
start_idx reverted to the original state
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaGomoryova committed Oct 30, 2024
1 parent f0c0c27 commit 40512d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/IsoFiltR.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ create_data_chunks <- function(data1) {

data_chunks <- list()
for (i in 1:10) {
start_idx <- max((i-1)*sect, 1)
start_idx <- (i - 1) * sect + 1
end_idx <- min((i * sect + over), nrow(data1))
data_chunks[[i]] <- data1[start_idx:end_idx, ]
}
Expand Down

0 comments on commit 40512d6

Please sign in to comment.