Skip to content

Commit 325b0a9

Browse files
authored
Merge pull request #87 from stemangiola/harmonised-with-ttservice-0.3.7
add argument to aggregate_cells
2 parents 797cf25 + 55872c0 commit 325b0a9

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

DESCRIPTION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Depends:
2020
R (>= 4.3.0),
2121
SingleCellExperiment
2222
Imports:
23-
dplyr, tidyr, ttservice,
23+
dplyr,
24+
tidyr,
25+
ttservice (>= 0.3.8),
2426
SummarizedExperiment,
2527
tibble,
2628
ggplot2,

R/methods.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ tidy.SingleCellExperiment <- function(object) {
113113
#' @export
114114
setMethod("aggregate_cells", "SingleCellExperiment", function(.data,
115115
.sample=NULL, slot="data", assays=NULL,
116-
aggregation_function=Matrix::rowSums) {
116+
aggregation_function=Matrix::rowSums,
117+
...) {
117118

118119
# Fix NOTEs
119120
feature <- NULL

man/aggregate_cells.Rd

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/bind_rows.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)