Skip to contents

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

Examples

data('aotus')
random_sid <- sample(aotus@sids, 1)
(get_sq_slot(phylota = aotus, sid = random_sid, slt_nm = 'dfln'))
#>                                                                                AF333723.1 
#> "Aotus nancymaae clone 11192.15 T-cell receptor gamma chain V-J region mRNA, partial cds" 
# see list_seqrec_slots() for available slots
(list_seqrec_slots())
#>  [1] "id"      "nm"      "accssn"  "vrsn"    "url"     "txid"    "orgnsm" 
#>  [8] "dfln"    "ml_typ"  "rec_typ" "nncltds" "nambgs"  "pambgs"  "gcr"    
#> [15] "age"