ropensci / onekp

Access sequences from the 1000 Plant Initiative (1KP)
https://docs.ropensci.org/onekp
Other
12 stars 4 forks source link

Filter by clade function returns error #5

Open Cecilia-Sensalari opened 2 years ago

Cecilia-Sensalari commented 2 years ago

Hi,

Thanks for developing this tool! I'm trying the example code and the filter_by_clade function returns an error, while filtering by code or species doesn't give any issue. Am I missing something here? My steps:

> library(onekp)

> onekp <- retrieve_onekp()
Registered S3 method overwritten by 'hoardr':
  method           from
  print.cache_info httr

> filter_by_clade(onekp, 'Brassicaceae')
Error: no such table: hierarchy

> filter_by_clade(onekp, 3700)
Error: no such table: hierarchy

> filter_by_species(onekp, 'Pinus radiata')
OneKP object
Slot "table": metadata for 1 transcriptomes from 1 species
Slot "links": map of file names from "table" to URLs

Thank you, Cecilia

Session Info ```r > devtools::session_info() ─ Session info 👨🏿‍✈️ 🧘🏽 ☝🏾 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────── hash: man pilot: dark skin tone, person in lotus position: medium skin tone, index pointing up: medium-dark skin tone setting value version R version 4.1.2 (2021-11-01) os macOS Monterey 12.0.1 system aarch64, darwin20.6.0 ui RStudio language (EN) collate en_US.UTF-8 ctype en_US.UTF-8 tz Europe/Brussels date 2021-11-04 rstudio 2021.09.0+351 Ghost Orchid (desktop) pandoc NA ─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── package * version date (UTC) lib source assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.1.2) bit 4.0.4 2020-08-04 [1] CRAN (R 4.1.2) bit64 4.0.5 2020-08-30 [1] CRAN (R 4.1.2) blob 1.2.2 2021-07-23 [1] CRAN (R 4.1.2) cachem 1.0.6 2021-08-19 [1] CRAN (R 4.1.2) callr 3.7.0 2021-04-20 [1] CRAN (R 4.1.2) cli 3.1.0 2021-10-27 [1] CRAN (R 4.1.2) crayon 1.4.2 2021-10-29 [1] CRAN (R 4.1.2) curl 4.3.2 2021-06-23 [1] CRAN (R 4.1.2) DBI 1.1.1 2021-01-15 [1] CRAN (R 4.1.2) dbplyr 2.1.1 2021-04-06 [1] CRAN (R 4.1.2) desc 1.4.0 2021-09-28 [1] CRAN (R 4.1.2) devtools * 2.4.2 2021-06-07 [1] CRAN (R 4.1.2) digest 0.6.28 2021-09-23 [1] CRAN (R 4.1.2) dplyr 1.0.7 2021-06-18 [1] CRAN (R 4.1.2) ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.2) fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.2) fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.2) fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.2) generics 0.1.1 2021-10-25 [1] CRAN (R 4.1.2) glue 1.4.2 2020-08-27 [1] CRAN (R 4.1.2) hms 1.1.1 2021-09-26 [1] CRAN (R 4.1.2) hoardr 0.5.2 2018-12-02 [1] CRAN (R 4.1.2) httr 1.4.2 2020-07-20 [1] CRAN (R 4.1.2) lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.2) magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.2) memoise 2.0.0 2021-01-26 [1] CRAN (R 4.1.2) onekp * 0.3.0 2021-11-04 [1] Github (ropensci/onekp@76da271) pillar 1.6.4 2021-10-18 [1] CRAN (R 4.1.2) pkgbuild 1.2.0 2020-12-15 [1] CRAN (R 4.1.2) pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.2) pkgload 1.2.3 2021-10-13 [1] CRAN (R 4.1.2) prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.2) processx 3.5.2 2021-04-30 [1] CRAN (R 4.1.2) ps 1.6.0 2021-02-28 [1] CRAN (R 4.1.2) purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.2) R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.2) rappdirs 0.3.3 2021-01-31 [1] CRAN (R 4.1.2) Rcpp 1.0.7 2021-07-07 [1] CRAN (R 4.1.2) readr 2.0.2 2021-09-27 [1] CRAN (R 4.1.2) remotes 2.4.1 2021-09-29 [1] CRAN (R 4.1.2) rlang 0.4.12 2021-10-18 [1] CRAN (R 4.1.2) rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.1.2) RSQLite 2.2.8 2021-08-21 [1] CRAN (R 4.1.2) rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.2) rvest 1.0.2 2021-10-16 [1] CRAN (R 4.1.2) selectr 0.4-2 2019-11-20 [1] CRAN (R 4.1.2) sessioninfo 1.2.1 2021-11-02 [1] CRAN (R 4.1.2) stringi 1.7.5 2021-10-04 [1] CRAN (R 4.1.2) stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.2) taxizedb 0.3.0 2021-11-04 [1] Github (ropensci/taxizedb@a9ca8b2) testthat 3.1.0 2021-10-04 [1] CRAN (R 4.1.2) tibble 3.1.5 2021-09-30 [1] CRAN (R 4.1.2) tidyselect 1.1.1 2021-04-30 [1] CRAN (R 4.1.2) tzdb 0.2.0 2021-10-27 [1] CRAN (R 4.1.2) usethis * 2.1.3 2021-10-27 [1] CRAN (R 4.1.2) utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.2) vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.2) vroom 1.5.5 2021-09-14 [1] CRAN (R 4.1.2) withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.2) xml2 1.3.2 2020-04-23 [1] CRAN (R 4.1.2) [1] /opt/homebrew/lib/R/4.1/site-library [2] /opt/homebrew/Cellar/r/4.1.2/lib/R/library ```