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

Cannot use dplyr::group_by with sq objects #80

Open
ErdaradunGaztea opened this issue Feb 5, 2021 · 0 comments
Open

Cannot use dplyr::group_by with sq objects #80

ErdaradunGaztea opened this issue Feb 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ErdaradunGaztea
Copy link
Member

Due to how sq objects are stored as lists of raw vectors, dplyr::group_by throws "Unsupported type raw" while trying to do something like:

library(dplyr)
library(tidysq)
# has to create a tibble first, from read_fasta or find_motifs for example
sq_dna <- sq(c("CGGCATCGT", "CTAGGCTCCG"), "dna_bsc")
find_motifs(sq_dna, "TCN") %>%
  group_by(found)
@ErdaradunGaztea ErdaradunGaztea added the bug Something isn't working label Feb 5, 2021
@ErdaradunGaztea ErdaradunGaztea added this to To do in Constant refinement via automation Feb 5, 2021
@ErdaradunGaztea ErdaradunGaztea pinned this issue Feb 5, 2021
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
Development

No branches or pull requests

1 participant