bmansfeld / QTLseqr

QTLseqr is an R package for QTL mapping using NGS Bulk Segregant Analysis
64 stars 42 forks source link

runGprimeAnalysis - Error in dplyr::mutate() #69

Closed erah1 closed 3 months ago

erah1 commented 3 months ago

Hello,

While using runGprimeAnalysis, I received the following error message.

 Counting SNPs in each window...
Calculating tricube smoothed delta SNP index...
Error in `dplyr::mutate()`:
ℹ In argument: `tricubeDeltaSNP = tricubeStat(POS = POS, Stat = deltaSNP, windowSize, ...)`.
ℹ In group 1: `CHROM = Chr1A`.
Caused by error in `lfproc()`:
! newsplit: out of vertex space
Run `rlang::last_trace()` to see where the error occurred.

When I run this: rlang::last_trace()

I got the message below.

<error/dplyr:::mutate_error>
Error in `dplyr::mutate()`:
ℹ In argument: `tricubeDeltaSNP = tricubeStat(POS = POS, Stat = deltaSNP, windowSize, ...)`.
ℹ In group 1: `CHROM = Chr1A`.
Caused by error in `lfproc()`:
! newsplit: out of vertex space
---
Backtrace:
     ▆
  1. ├─QTLseqr::runGprimeAnalysis(...)
  2. │ └─SNPset %>% ...
  3. ├─dplyr::mutate(...)
  4. ├─dplyr:::mutate.data.frame(...)
  5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  6. │   ├─base::withCallingHandlers(...)
  7. │   └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)

Could you help to solve this issue?

Thank you,

bmansfeld commented 3 months ago

See here: https://github.com/bmansfeld/QTLseqr/issues/60#issuecomment-1550371353

and elsewhere this issue is described. Please read the vignette too