Skip to content

Commit 4760de6

Browse files
committed
fix bug
1 parent b3266e6 commit 4760de6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: sccomp
22
Title: Tests differences in cell-type proportion for single-cell data, robust to outliers
3-
Version: 1.99.17
3+
Version: 1.99.18
44
Authors@R: c(person("Stefano", "Mangiola", email = "[email protected]",
55
role = c("aut", "cre"))
66
)

R/methods.R

+3-2
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ sccomp_estimate.SingleCellExperiment <- function(.data,
310310
.sample <- enquo(.sample)
311311
.cell_group <- enquo(.cell_group)
312312
.sample_cell_group_pairs_to_exclude <- enquo(.sample_cell_group_pairs_to_exclude)
313-
313+
314314
.data |>
315315
colData() |>
316316
sccomp_estimate(
@@ -370,6 +370,7 @@ sccomp_estimate.DFrame <- function(.data,
370370
mcmc_seed = sample(1e5, 1),
371371
max_sampling_iterations = 20000,
372372
pass_fit = TRUE,
373+
sig_figs = 9,
373374
...,
374375

375376
# DEPRECATED
@@ -415,7 +416,7 @@ sccomp_estimate.DFrame <- function(.data,
415416
mcmc_seed = mcmc_seed,
416417
max_sampling_iterations = max_sampling_iterations,
417418
pass_fit = pass_fit,
418-
sig_figs = 9,
419+
sig_figs = sig_figs,
419420
...
420421
)
421422
}

0 commit comments

Comments
 (0)