get_clstr_slot: Get slot data for each cluster record

View source: R/user-get.R

get_clstr_slotR Documentation

Get slot data for each cluster record

Description

Get slot data for cluster(s)

Usage

get_clstr_slot(phylota, cid, slt_nm = list_clstrrec_slots())

Arguments

phylota

Phylota object

cid

Cluster ID

slt_nm

Slot name

Value

vector

See Also

Other tools-public: calc_mad(), calc_wrdfrq(), drop_by_rank(), drop_clstrs(), drop_sqs(), get_nsqs(), get_ntaxa(), get_sq_slot(), get_stage_times(), get_tx_slot(), 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_cid <- sample(aotus@cids, 1)
(get_clstr_slot(phylota = aotus, cid = random_cid, slt_nm = 'seed'))
# see list_clstrrec_slots() for available slots
(list_clstrrec_slots())

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.