Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search_encode not filtering properly #7

Open
bschilder opened this issue Jun 7, 2022 · 0 comments
Open

search_encode not filtering properly #7

bschilder opened this issue Jun 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bschilder
Copy link
Collaborator

bschilder commented Jun 7, 2022

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) 
@bschilder bschilder added the bug Something isn't working label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant