gggenomes icon indicating copy to clipboard operation
gggenomes copied to clipboard

add_sublinks does not work with data.frame

Open danpal96 opened this issue 4 months ago • 0 comments

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

danpal96 avatar Oct 04 '24 15:10 danpal96