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.

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

Examples

data('aotus') random_sid <- sample(aotus@sids, 1) (get_sq_slot(phylota = aotus, sid = random_sid, slt_nm = 'dfln'))
#> HM762858.1 #> "Aotus nancymaae isolate ANA-1 DACH1 gene, partial sequence"
# 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"