-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi Signac team,
I got an error in BigwigTrack function:
I used this code before and everything worked, but now give me an error.
Is there any clue about the issue?
Thank you for any help,
Debora
gene.name <- c("UMOD")
g <- 1L
gr0 <- LookupGeneCoords(combine.atac, gene = gene.name[g])
BigwigTrack(
bigwig.scale = 'separate',
region =gr0,
bigwig = list(
H3K27Ac = "H3K27Ac.bw",
H3K27me3 = "H3K27me3.bw"
),
y_label = "CUT&RUN"
)
Error:
> rlang::last_trace()
<error/rlang_error>
Error in `slice_sample()`:
! `n` must be a round number, not the number 6274.7.
---
Backtrace:
▆
1. └─Signac::BigwigTrack(...)
2. ├─dplyr::slice_sample(.data = all.data, n = sampling)
3. └─dplyr:::slice_sample.data.frame(.data = all.data, n = sampling)
4. └─dplyr:::get_slice_size(n = n, prop = prop, allow_outsize = replace)
5. └─dplyr:::check_slice_n_prop(n, prop, error_call = error_call)
6. └─rlang::abort(...)
sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] GenomicRanges_1.50.2 GenomeInfoDb_1.34.9 IRanges_2.32.0 S4Vectors_0.36.2 BiocGenerics_0.44.0 ggplot2_3.4.2
[7] patchwork_1.1.2 Signac_1.9.0.9003 SeuratObject_4.1.3 Seurat_4.3.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working