You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -185,6 +201,20 @@ The use of proportions is better suited for modelling deconvolution results (e.g
185
201
186
202
Proportions should be greater than 0. Assuming that zeros derive from a precision threshold (e.g., deconvolution), zeros are converted to the smallest non-zero value.
@@ -281,7 +311,7 @@ In the case of a categorical variable, the starting and ending points are catego
281
311
sccomp_result |>
282
312
sccomp_proportional_fold_change(
283
313
formula_composition = ~ type,
284
-
from = "healthy",
314
+
from = "benign",
285
315
to = "cancer"
286
316
) |>
287
317
select(cell_group, statement)
@@ -307,7 +337,7 @@ seurat_obj |>
307
337
308
338
## Categorical factor (e.g. Bayesian ANOVA)
309
339
310
-
This is achieved through model comparison with `loo`. In the following example, the model with association with factors better fits the data compared to the baseline model with no factor association. For comparisons `check_outliers` must be set to FALSE as the leave-one-out must work with the same amount of data, while outlier elimination does not guarantee it.
340
+
This is achieved through model comparison with `loo`. In the following example, the model with association with factors better fits the data compared to the baseline model with no factor association. For model comparisons `sccomp_remove_outliers()` must not be executed as the leave-one-out must work with the same amount of data, while outlier elimination does not guarantee it.
311
341
312
342
If `elpd_diff` is away from zero of \> 5 `se_diff` difference of 5, we are confident that a model is better than the other [reference](https://discourse.mc-stan.org/t/interpreting-elpd-diff-loo-package/1628/2?u=stemangiola).
313
343
In this case, -79.9 / 11.5 = -6.9, therefore we can conclude that model one, the one with factor association, is better than model two.
@@ -234,6 +250,20 @@ The use of proportions is better suited for modelling deconvolution results (e.g
234
250
235
251
Proportions should be greater than 0. Assuming that zeros derive from a precision threshold (e.g., deconvolution), zeros are converted to the smallest non-zero value.
@@ -330,7 +360,7 @@ In the case of a categorical variable, the starting and ending points are catego
330
360
res |>
331
361
sccomp_proportional_fold_change(
332
362
formula_composition = ~ type,
333
-
from = "healthy",
363
+
from = "benign",
334
364
to = "cancer"
335
365
) |>
336
366
select(cell_group, statement)
@@ -356,7 +386,7 @@ seurat_obj |>
356
386
357
387
## Categorical factor (e.g. Bayesian ANOVA)
358
388
359
-
This is achieved through model comparison with `loo`. In the following example, the model with association with factors better fits the data compared to the baseline model with no factor association. For comparisons `check_outliers` must be set to FALSE as the leave-one-out must work with the same amount of data, while outlier elimination does not guarantee it.
389
+
This is achieved through model comparison with `loo`. In the following example, the model with association with factors better fits the data compared to the baseline model with no factor association. For model comparisons `sccomp_remove_outliers()` must not be executed as the leave-one-out must work with the same amount of data, while outlier elimination does not guarantee it.
360
390
361
391
If `elpd_diff` is away from zero of \> 5 `se_diff` difference of 5, we are confident that a model is better than the other [reference](https://discourse.mc-stan.org/t/interpreting-elpd-diff-loo-package/1628/2?u=stemangiola).
362
392
In this case, -79.9 / 11.5 = -6.9, therefore we can conclude that model one, the one with factor association, is better than model two.
0 commit comments