get_tx_slot: Get slot data for each taxon record

Description Usage Arguments Value See Also Examples

Description

Get slot data for taxa(s)

Usage

1
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

1
2
3
4
5
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())

phylotaR documentation built on May 1, 2019, 9:26 p.m.