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

Not enough y observations #82

Closed
teng-gao opened this issue Dec 26, 2022 · 0 comments
Closed

Not enough y observations #82

teng-gao opened this issue Dec 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@teng-gao
Copy link
Collaborator

teng-gao commented Dec 26, 2022

Running HMMs on 6 cell groups..
Error in `mutate()`:
! Problem while computing `p = ...$p.value`.
ℹ The error occurred in row 3.
Caused by error in `t.test.default()`:
! not enough 'y' observations

Backtrace:
     ▆
  1. ├─numbat::run_numbat(...)
  2. │ └─bulk_subtrees %>% ... at numbat/R/main.R:243:8
  3. ├─numbat::run_group_hmms(...)
  4. │ └─numbat::find_common_diploid(...) at numbat/R/main.R:755:8
  5. │   └─... %>% mutate(q = p.adjust(p)) at numbat/R/utils.R:1131:8
  6. ├─dplyr::mutate(., q = p.adjust(p))
  7. ├─dplyr::ungroup(.)
  8. ├─dplyr::summarise(...)
  9. ├─dplyr::group_by(., i, j)
 10. ├─dplyr::mutate(...)
 11. ├─dplyr:::mutate.data.frame(...)
 12. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
 13. │   ├─base::withCallingHandlers(...)
 14. │   └─mask$eval_all_mutate(quo)
 15. ├─stats::t.test(...)
 16. ├─stats:::t.test.default(...)
 17. │ └─base::stop("not enough 'y' observations")
 18. └─base::.handleSimpleError(...)
 19.   └─dplyr (local) h(simpleError(msg, call))
 20.     └─rlang::abort(...)
@teng-gao teng-gao added the bug Something isn't working label Dec 26, 2022
teng-gao added a commit that referenced this issue Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant