From 3d922c67a021be7c96c217aa49ccb39e4c61857f Mon Sep 17 00:00:00 2001 From: "Daniel J. McDonald" Date: Thu, 19 Oct 2023 13:54:58 -0700 Subject: [PATCH] file unused --- R/utils-knn.R | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 R/utils-knn.R diff --git a/R/utils-knn.R b/R/utils-knn.R deleted file mode 100644 index 90ac67435..000000000 --- a/R/utils-knn.R +++ /dev/null @@ -1,5 +0,0 @@ -embedding <- function(dat) { - dat <- as.matrix(dat) - dat <- dat / sqrt(rowSums(dat^2) + 1e-12) - return(dat) -}