Skip to content

Commit

Permalink
Merge pull request #4 from HDash/main
Browse files Browse the repository at this point in the history
Fix "subscript contains invalid names" error by removing all instances of shuffled sequences
  • Loading branch information
Tomrrr1 authored Jun 3, 2024
2 parents 2d66a5d + b538c15 commit 842abd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/motif_enrichment.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ motif_enrichment <- function(peak_input,

seq_path <- file.path(out_dir, "sequences.tsv")
seq <- utils::read.table(seq_path, header = TRUE)
cleaned_ids <- seq$seq_ID[!grepl("_shuf_1", seq$seq_ID)]
cleaned_ids <- seq$seq_ID[!grepl("_shuf_", seq$seq_ID)]

return(
list(
Expand Down

0 comments on commit 842abd6

Please sign in to comment.