Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotCombinations() error #2

Open
lucamchtt opened this issue May 10, 2023 · 0 comments
Open

plotCombinations() error #2

lucamchtt opened this issue May 10, 2023 · 0 comments

Comments

@lucamchtt
Copy link

lucamchtt commented May 10, 2023

Hi,
I am trying to use Repguide to design some mouse LTR guides and I managed to get everything to work except the plotCombination function.
Whenever I try to run it on a guideset it gives me back this error:

plotCombinations(gs)

<error/dplyr:::mutate_error>
Error in mutate():
ℹ In argument: con_bin = cut(...).
Caused by error in seq.default():
! 'to' must be a finite number

Backtrace:

  1. ├─Repguide::plotCombinations(gs)
  2. │ └─... %>% ggplot(aes(con_bin, n, fill = as.factor(n_guides)))
  3. ├─ggplot2::ggplot(., aes(con_bin, n, fill = as.factor(n_guides)))
  4. ├─dplyr::count(., repname, n_guides, con_bin)
  5. ├─dplyr::distinct(.)
  6. ├─dplyr::select(., repname, te_id, n_guides, con_bin)
  7. ├─dplyr::mutate(...)
  8. ├─dplyr:::mutate.data.frame(...)
  9. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  10. │ ├─base::withCallingHandlers(...)
  11. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
  12. │ └─mask$eval_all_mutate(quo)
  13. │ └─dplyr (local) eval()
  14. ├─base::cut(...)
  15. ├─base::cut.default(...)
  16. ├─base::seq(0, max(con_pos) + 250, 250)
  17. └─base::seq.default(0, max(con_pos) + 250, 250)
  18. └─base::stop("'to' must be a finite number")

I am using Repguide 0.0.1.5 and 4.2.2 version of R.
Can you help me out?

Thanks a lot,
Luca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant