Skip to content

Error with PlotSpatialEnrichment for specific binWidth/posMax combinations #8

Closed
@mevers

Description

Reproducible minimal example:

library(RNAModR)
library(magrittr)
m1A <- system.file("extdata", "MeRIPseq_m1A_Dominissini2016_hg38.bed", package = "RNAModR") %>%
    ReadBED() %>%
    SmartMap(id = "m1A", refGenome = "hg38") %>%
    FilterTxLoc(filter = c("5'UTR", "CDS", "3'UTR"))
null <- GenerateNull(m1A, method = "ntAbund", nt = "A")

PlotSpatialEnrichment(m5C, null, binWidth = 100, posMax = 400)
Error in seq.default(1, length(x1), deltaIdx) : invalid '(to - from)/by'

The following works

PlotSpatialEnrichment(m5C, null, binWidth = 80, posMax = 400)

Metadata

Assignees

No one assigned

    Labels

    Level 2: MajorBroken feature, some workaround existsbug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions