Skip to content

Commit

Permalink
add missing options to setMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
c-mertes committed Feb 9, 2024
1 parent 2bdeb13 commit c2a76c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/AllGenerics.R
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ subset.FRASER <- function(x, i, j, by=c("j", "ss"), drop=FALSE){
#' @rdname subset
#' @export
setMethod("[", c("FraserDataSet", "ANY", "ANY"), subset.FRASER)
setMethod("[", c("FraserDataSet", "ANY", "missing"), subset.FRASER)
setMethod("[", c("FraserDataSet", "missing", "ANY"), subset.FRASER)


#'
Expand Down
2 changes: 1 addition & 1 deletion R/countRNAseqData.R
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ getSplitReadCountsForAllSamples <- function(fds, NcpuPerSample=1,
"remove this folder: \n", outDir)
# create summarized object for counts
h5 <- saveAsHDF5(fds, "rawCountsJ",
assay(splitCounts)[,samples(fds)])
assay(splitCounts)[,samples(fds),drop=FALSE])
colnames(h5) <- samples(fds)
final_splitCounts <- SummarizedExperiment(
colData=colData(fds),
Expand Down

0 comments on commit c2a76c1

Please sign in to comment.