Skip to content

Commit

Permalink
Remove paste in warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
HDash committed Oct 21, 2024
1 parent 412a5af commit 406f4ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/filter_repeats.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ filter_repeats <- function(motifs, filter_n = 6) {
if (is.null(filter_n) || filter_n < 1) return(motifs)

if (filter_n < 4) {
warn_msg <- paste("It is not recommended to filter out motifs with",
"less than 4 consecutive nucleotide repeats.")
warn_msg <- "It is not recommended to filter out motifs with less than 4 consecutive nucleotide repeats."
warning(warn_msg)
}

Expand Down

0 comments on commit 406f4ae

Please sign in to comment.