Get slot data for taxa(s)
Usage
get_tx_slot(phylota, txid, slt_nm = list_taxrec_slots())See also
Other tools-public:
calc_mad(),
calc_wrdfrq(),
drop_by_rank(),
drop_clstrs(),
drop_sqs(),
get_clstr_slot(),
get_nsqs(),
get_ntaxa(),
get_sq_slot(),
get_stage_times(),
get_txids(),
is_txid_in_clstr(),
is_txid_in_sq(),
list_clstrrec_slots(),
list_ncbi_ranks(),
list_seqrec_slots(),
list_taxrec_slots(),
plot_phylota_pa(),
plot_phylota_treemap(),
read_phylota(),
write_sqs()
Examples
data('aotus')
random_txid <- sample(aotus@txids, 1)
(get_tx_slot(phylota = aotus, txid = random_txid, slt_nm = 'scnm'))
#> 361674
#> "Aotus brumbacki"
# see list_taxrec_slots() for available slots
(list_taxrec_slots())
#> [1] "id" "scnm" "cmnm" "rnk" "prnt"
