Skip to content

Commit

Permalink
bug in sig_noise
Browse files Browse the repository at this point in the history
  • Loading branch information
wincowgerDEV committed Jan 29, 2024
1 parent bdab551 commit 334fd3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/sig_noise.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ sig_noise.OpenSpecy <- function(x, metric = "run_sig_over_noise",
if(spatial_smooth){
values <- matrix(values, ncol = max(x$metadata$x) + 1, byrow = T) |>
gaussianSmooth(sigma = sigma) |>
c()
t() |>
as.vector()
}
if(abs) {
values <- abs(values)
Expand Down

0 comments on commit 334fd3a

Please sign in to comment.