Get slot data for cluster(s)
Usage
get_clstr_slot(phylota, cid, slt_nm = list_clstrrec_slots())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'))
#> 3
#> "DI178118.1"
# see list_clstrrec_slots() for available slots
(list_clstrrec_slots())
#> [1] "id" "nsqs" "ntx" "typ" "prnt" "seed"
