Skip to content

Error for condition names with underscore #22

Description

@sarahsophiawolf

While using BindingSiteFinder 3.1.1. I had named one of my conditions with an underscore, like "MYCN_EXOSC5AID", and everything worked fine when building the BSFDataSet.

But when I got to section 7.3.2 (Filter binding site and background count) and ran:

bds.diff.MYCN_EXOSC5AID_IgG = filterBsBackground(bds.diff.MYCN_EXOSC5AID_IgG)

I got the following error:

Error in dplyr::relocate():
ℹ In argument: all_of(this.condition.reference).
Caused by error in all_of():
! Can't subset elements that don't exist.
✖ Element MYCN_EXOSC5AID doesn't exist.

After a bit of testing, I found out that the underscore in the condition name was causing the problem. Once I renamed it (e.g., just "EXOSC5AID"), everything worked smoothly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions