Checks if given txid is represented by sequence by looking at sequence source organism's lineage.

is_txid_in_sq(phylota, txid, sid)

Arguments

phylota

Phylota

txid

Taxonomic ID

sid

Sequence ID

Value

boolean

See also

Examples

data(tinamous) sid <- tinamous@sids[[1]] sq <- tinamous[[sid]] txid <- sq@txid # expect true is_txid_in_sq(phylota = tinamous, txid = txid, sid = sid)
#> [1] TRUE