Skip to content

Commit

Permalink
Fix "subscript contains invalid names" error by removing all instance…
Browse files Browse the repository at this point in the history
…s of shuffled sequences
  • Loading branch information
HDash committed Jun 3, 2024
1 parent 2d66a5d commit b538c15
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 b538c15

Please sign in to comment.