get_nsqs: Count number of sequences

Description Usage Arguments Value See Also Examples

Description

Count the number of sequences in a cluster(s).

Usage

1
get_nsqs(phylota, cid)

Arguments

phylota

Phylota object

cid

Cluster ID(s)

Value

vector

See Also

Other tools-public: calc_mad, calc_wrdfrq, drop_by_rank, drop_clstrs, drop_sqs, get_clstr_slot, get_ntaxa, get_sq_slot, 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

1
2
3
4
data("cycads")
# count seqs for a random 10 clusters
random_cids <- sample(cycads@cids, 10)
nsqs <- get_nsqs(phylota = cycads, cid = random_cids)

phylotaR documentation built on May 1, 2019, 9:26 p.m.