Skip to content

search_encode not filtering properly #7

@bschilder

Description

@bschilder

search_encode doesn't always filter all results appropriately.

It also doesn't work when you supply variables instead of character strings.

Should return exactly 1 entry:

Screenshot 2022-06-07 at 18 30 50

Returns too many

446 entries returned

meta <- search_encode(target =  c("H3K122","H3K27ac","H3K64ac"),
                      biosample_name = "K562",
                      organism = "Homo sapiens",
                      assembly = "GRCh38",
                      file_type = "narrowPeak",
                      output_type=c("replicated peaks"),
                      peaks_only = TRUE) 

But not filtering the "target" column correctly.

Screenshot 2022-06-07 at 18 27 53

Returns none

0 entries returned.

marks <- c("H3K122","H3K27ac","H3K64ac")
meta <- search_encode(target =  marks,
                      biosample_name = "K562",
                      organism = "Homo sapiens",
                      assembly = "GRCh38",
                      file_type = "narrowPeak",
                      output_type=c("replicated peaks"),
                      peaks_only = TRUE) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions