Summarise data with respect to taxonomy

tv_summarise(x)

Arguments

x

(data.frame) input data

Value

an object of class tv_summary

Examples

if (FALSE) { x <- system.file("examples/plant_spp.csv", package = "taxview") dat <- tibble::as_tibble( data.table::fread(x, stringsAsFactors = FALSE, data.table = FALSE)) out <- tv_prep_ids(x, ids = dat$id, db = "ncbi") (res <- tv_summarise(out)) res$summary res$by_rank res$by_rank_name res$by_within_rank }