Skip to content
Snippets Groups Projects
Commit 8858089e authored by Jeffrey Pullin's avatar Jeffrey Pullin
Browse files

Correct code to run COSG

parent 8b21d4dd
Branches
Tags
No related merge requests found
......@@ -25,20 +25,21 @@ run_cosg <- function(sce, pars) {
)
})
result <- dplyr::left_join(
result <- dplyr::bind_cols(
tidyr::pivot_longer(
raw_result$names,
cols = everything(),
names_to = "cluster",
values_to = "gene"
),
dplyr::select(
tidyr::pivot_longer(
raw_result$scores,
cols = everything(),
names_to = "cluster",
values_to = "raw_statistic"
),
by = "cluster"
-cluster)
)
# See note in `run-nsForest.R`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment