From 28011d8d14e9face9f0704dee088e3196cc3392e Mon Sep 17 00:00:00 2001 From: stemangiola Date: Tue, 31 Aug 2021 17:00:47 +1000 Subject: [PATCH] less than 50 genes as warning instead of an error --- R/validation.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/validation.R b/R/validation.R index 2dd12205..0441ac6f 100755 --- a/R/validation.R +++ b/R/validation.R @@ -312,7 +312,7 @@ validate_signature = function(.data, reference, .transcript){ which %>% length %>% st(50)) - stop( + warning( "tidybulk says: You have less than 50 genes in common between the query data and the reference data. Please check again your input dataframes" ) @@ -331,7 +331,7 @@ validate_signature_SE = function(.data, reference, .transcript){ which %>% length %>% st(50)) - stop( + warning( "tidybulk says: You have less than 50 genes in common between the query data and the reference data. Please check again your input dataframes" )