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

add_sublinks does not work with data.frame #201

Open
danpal96 opened this issue Oct 4, 2024 · 0 comments
Open

add_sublinks does not work with data.frame #201

danpal96 opened this issue Oct 4, 2024 · 0 comments

Comments

@danpal96
Copy link

danpal96 commented Oct 4, 2024

Version:
r-gggenomes 1.0.1 r44hc72bb7e_0 conda-forge

add_sublinks only works with tibbles. If you use a data.frame it throws an error:

gggenomes(emale_genes) %>%
    add_sublinks(as.data.frame(emale_prot_ava)) +
    geom_gene() +
    geom_link()

Error:

Error in `purrr::map()`:
ℹ In index: 1.
ℹ With name: as.data.frame(emale_prot_ava).
Caused by error in `as_sublinks.tbl_df()`:
! el argumento "feats" está ausente, sin valor por omisión
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant