From 2e3e46f46f1c505e97308242581980a433549922 Mon Sep 17 00:00:00 2001 From: Eddie Ruiz <32622519+Ed2uiz@users.noreply.github.com> Date: Tue, 7 Feb 2023 16:18:44 -0500 Subject: [PATCH] Update bin_size arg options --- R/interoperability.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/interoperability.R b/R/interoperability.R index 77a738d4f..b73ac6933 100644 --- a/R/interoperability.R +++ b/R/interoperability.R @@ -17,7 +17,7 @@ #' #' See SAW pipeline for additional information about the gef file. #' @export -gefToGiotto = function(gef_file, bin_size = 'bin100', verbose = TRUE){ +gefToGiotto = function(gef_file, bin_size = '100', verbose = TRUE){ # data.table vars genes = NULL @@ -27,7 +27,7 @@ gefToGiotto = function(gef_file, bin_size = 'bin100', verbose = TRUE){ if(!file.exists(gef_file)) stop('File path to .gef file does not exist') # check if proper bin_size is selected. These are determined in SAW pipeline. - bin_size_options = c('bin1', 'bin10', 'bin20', 'bin50', 'bin100', 'bin200') + bin_size_options = c('1', '10', '20', '50', '100', '200') if(!(bin_size %in% bin_size_options)) stop('Please select valid bin size, see details for choices.')