Browse code

fix pseudobulk_method in wrappers

raysinensis authored on 05/04/2022 15:28:19
Showing 2 changed files

... ...
@@ -321,6 +321,7 @@ clustify.Seurat <- function(input,
321 321
     per_cell = FALSE,
322 322
     n_perm = 0,
323 323
     compute_method = "spearman",
324
+    pseudobulk_method = "mean",
324 325
     use_var_genes = TRUE,
325 326
     dr = "umap",
326 327
     seurat_out = TRUE,
... ...
@@ -369,6 +370,7 @@ clustify.Seurat <- function(input,
369 370
         n_perm = n_perm,
370 371
         cluster_col = cluster_col,
371 372
         compute_method = compute_method,
373
+        pseudobulk_method = pseudobulk_method,
372 374
         verbose = verbose,
373 375
         rm0 = rm0,
374 376
         exclude_genes = exclude_genes,
... ...
@@ -444,6 +446,7 @@ clustify.SingleCellExperiment <- function(input,
444 446
     per_cell = FALSE,
445 447
     n_perm = 0,
446 448
     compute_method = "spearman",
449
+    pseudobulk_method = "mean",
447 450
     use_var_genes = TRUE,
448 451
     dr = "umap",
449 452
     seurat_out = TRUE,
... ...
@@ -488,6 +491,7 @@ clustify.SingleCellExperiment <- function(input,
488 491
         n_perm = n_perm,
489 492
         cluster_col = cluster_col,
490 493
         compute_method = compute_method,
494
+        pseudobulk_method = pseudobulk_method,
491 495
         verbose = verbose,
492 496
         rm0 = rm0,
493 497
         exclude_genes = exclude_genes,
... ...
@@ -47,6 +47,7 @@ clustify(input, ...)
47 47
   per_cell = FALSE,
48 48
   n_perm = 0,
49 49
   compute_method = "spearman",
50
+  pseudobulk_method = "mean",
50 51
   use_var_genes = TRUE,
51 52
   dr = "umap",
52 53
   seurat_out = TRUE,
... ...
@@ -73,6 +74,7 @@ clustify(input, ...)
73 74
   per_cell = FALSE,
74 75
   n_perm = 0,
75 76
   compute_method = "spearman",
77
+  pseudobulk_method = "mean",
76 78
   use_var_genes = TRUE,
77 79
   dr = "umap",
78 80
   seurat_out = TRUE,