Closed stitam closed 1 month ago
For example here I cannot pipe the whole thing together because of the tibble:
taxid <- "YP_003347555.1" |> ncbi_get_uid(db = "protein") |> ncbi_link_uid(to = "taxonomy") taxizedb::classification(taxid$taxonomy)
But this would be more user friendly:
taxid <- "YP_003347555.1" |> ncbi_get_uid(db = "protein") |> ncbi_link_uid(to = "taxonomy") |> taxizedb::classification()
This solves the issue:
taxid <- "YP_003347555.1" |> ncbi_get_uid(db = "protein") |> ncbi_link_uid(to = "taxonomy") |> dplyr::pull(taxonomy) |> taxizedb::classification()
No need to update the package.
For example here I cannot pipe the whole thing together because of the tibble:
But this would be more user friendly: