Skip to contents

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

Examples

data('aotus')
random_cid <- sample(aotus@cids, 1)
(get_clstr_slot(phylota = aotus, cid = random_cid, slt_nm = 'seed'))
#>           14 
#> "JQ932794.1" 
# see list_clstrrec_slots() for available slots
(list_clstrrec_slots())
#> [1] "id"   "nsqs" "ntx"  "typ"  "prnt" "seed"