Skip to content

Commit

Permalink
update scFeartures script
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecabiria committed Nov 22, 2024
1 parent 1997c3d commit b12b5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metrics/ks_statistic_sc_features/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requireNamespace("CARD", quietly = TRUE)
requireNamespace("SingleCellExperiment", quietly = TRUE)
requireNamespace("SummarizedExperiment", quietly = TRUE)

<<<<<<< Updated upstream
# <<<<<<< Updated upstream
## VIASH START
par <- list(
input_spatial_dataset = "resources_test/spatialsimbench_mobnew/dataset_sp.h5ad",
Expand Down Expand Up @@ -48,7 +48,7 @@ real_log_count <- t(input_real_sp$layers[["logcounts"]])
real_prob_matrix <- input_real_sp$obsm[["celltype_proportions"]]
colnames(real_prob_matrix) <- paste0("ct", seq_len(ncol(real_prob_matrix)))

<<<<<<< Updated upstream
# <<<<<<< Updated upstream
sim_log_count <- scuttle::normalizeCounts(t(input_simulated_sp$layers[["counts"]]))
=======
real_log_count <- real_log_count[ , colnames(real_log_count) %in% rownames(real_prob_matrix) ]
Expand Down

0 comments on commit b12b5e8

Please sign in to comment.