ropensci / taxa

taxonomic classes for R
https://docs.ropensci.org/taxa
Other
48 stars 12 forks source link

Problem in filter_taxa egs #80

Closed sckott closed 7 years ago

sckott commented 7 years ago
> # Filter by taxon ID
> filter_taxa(ex_taxmap, c("1", "2", "3"))
Error in `[<-.data.frame`(`*tmp*`, !self$edge_list$from %in% self$taxon_ids(),  :
  replacement has 1 row, data has 0
Calls: filter_taxa ... <Anonymous> -> <Anonymous> -> [<- -> [<-.data.frame