Skip to content

Commit

Permalink
delayedarray sink to x
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonAlien committed Oct 13, 2020
1 parent f0a1011 commit 518d9b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/accessory_funcs.R
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,9 @@ non_vect_code <- function(files, col_idx, coldata, verbose = TRUE, genome = NULL
file_uncovered = file_uncovered, zero_based = zero_based)

DelayedArray::write_block(block = as.matrix(b$bdg[, .(beta)]),
viewport = grid[[i]], sink = M_sink)
viewport = grid[[i]], x = M_sink)
DelayedArray::write_block(block = as.matrix(b$bdg[, .(cov)]),
viewport = grid[[i]], sink = cov_sink)
viewport = grid[[i]], x = cov_sink)
genome_stat_final <- b$genome_stat[, `:=`(Sample_Name,
rownames(coldata)[i])]
chr_stat_final <- b$chr_stat[, `:=`(Sample_Name, rownames(coldata)[i])]
Expand All @@ -463,9 +463,9 @@ non_vect_code <- function(files, col_idx, coldata, verbose = TRUE, genome = NULL
file_uncovered = file_uncovered, zero_based = zero_based)

DelayedArray::write_block(block = as.matrix(b$bdg[, .(beta)]),
viewport = grid[[i]], sink = M_sink)
viewport = grid[[i]], x = M_sink)
DelayedArray::write_block(block = as.matrix(b$bdg[, .(cov)]),
viewport = grid[[i]], sink = cov_sink)
viewport = grid[[i]], x = cov_sink)
genome_stat_final <- rbind(genome_stat_final, b$genome_stat[,
`:=`(Sample_Name, rownames(coldata)[i])])
chr_stat_final <- rbind(chr_stat_final, b$chr_stat[, `:=`(Sample_Name,
Expand Down

0 comments on commit 518d9b9

Please sign in to comment.