From 68591d5886e83e033a6399090954b8b73e706a3a Mon Sep 17 00:00:00 2001 From: sshen82 Date: Wed, 18 May 2022 17:20:29 -0500 Subject: [PATCH] Update scGAD.R --- R/scGAD.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/scGAD.R b/R/scGAD.R index 0392712..2273bd3 100644 --- a/R/scGAD.R +++ b/R/scGAD.R @@ -122,6 +122,7 @@ scGAD = function(path = NULL, hic_df = NULL, genes, depthNorm = TRUE, cores = 4, output <- future_sapply(1:length(names), getCount) output[is.na(output)] = 0 } + rownames(output) = g_names colnames(output) = names output = output[rowSums(output) > 0, ] output = output[!is.na(rowSums(output)), ]