get_sq_slot: Get slot data for each sequence

View source: R/user-get.R

get_sq_slotR Documentation

Get slot data for each sequence

Description

Get slot data for either or sequences in a cluster of a vector of sequence IDs. Use list_seqrec_slots() for a list of available slots.

Usage

get_sq_slot(phylota, cid = NULL, sid = NULL, slt_nm = list_seqrec_slots())

Arguments

phylota

Phylota object

cid

Cluster ID

sid

Sequence ID(s)

slt_nm

Slot name

Value

vector

See Also

Other tools-public: calc_mad(), calc_wrdfrq(), drop_by_rank(), drop_clstrs(), drop_sqs(), get_clstr_slot(), get_nsqs(), get_ntaxa(), 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_sid <- sample(aotus@sids, 1)
(get_sq_slot(phylota = aotus, sid = random_sid, slt_nm = 'dfln'))
# see list_seqrec_slots() for available slots
(list_seqrec_slots())

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