Skip to content

Commit 9f0d671

Browse files
authored
Merge pull request #107 from navinlabcode/vst_log
update runVst.R set log base to 2
2 parents 4c01249 + ba58bb9 commit 9f0d671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/runVst.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runVst <- function(scCNA,
4949
varbin_counts_df[varbin_counts_df == 0] <- 1e-4
5050
counts_df_ft <- as.data.frame(apply(varbin_counts_df,
5151
2,
52-
function(x) log(x)))
52+
function(x) log(x, base = 2)))
5353
}
5454

5555
counts_df_ft <- as.data.frame(counts_df_ft)

0 commit comments

Comments
 (0)