get_tx_slot: Get slot data for each taxon record

View source: R/user-get.R

get_tx_slotR Documentation

Get slot data for each taxon record

Description

Get slot data for taxa(s)

Usage

get_tx_slot(phylota, txid, slt_nm = list_taxrec_slots())

Arguments

phylota

Phylota object

txid

Taxonomic ID

slt_nm

Slot name

Value

vector or list

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'))
# see list_taxrec_slots() for available slots
(list_taxrec_slots())

ropensci/phylotaR documentation built on July 21, 2024, 1:01 a.m.