From 8bb7aa028c84d11499571059a1d8cd5af13d6295 Mon Sep 17 00:00:00 2001 From: warrenmcg Date: Thu, 7 Jun 2018 13:03:44 -0500 Subject: [PATCH] fix typo + addresses issue #181 (h/t @pkerbs) --- R/sleuth.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/sleuth.R b/R/sleuth.R index 4ccc4d4..fea2305 100644 --- a/R/sleuth.R +++ b/R/sleuth.R @@ -829,7 +829,7 @@ check_target_mapping <- function(t_id, target_mapping, gene_mode) { if(any(duplicated(target_mapping$target_id))) { indices <- which(duplicated(target_mapping$target_id)) duplicated_ids <- target_mapping$target_id[indices] - formatted_ids <- paste(dupliated_ids, collapse = ", ") + formatted_ids <- paste(duplicated_ids, collapse = ", ") if(gene_mode) { stop("There is at least one duplicated target ID in the target mapping. ", "Since sleuth prep is in gene aggregation mode, any duplicated ",