Description Usage Arguments Value See Also Examples
Drop all sequences in a cluster except those identified by user.
1 | drop_sqs(phylota, cid, sid)
|
phylota |
Phylota object |
cid |
Cluster ID |
sid |
Sequence ID(s) to be kept |
phylota
Other tools-public: calc_mad
,
calc_wrdfrq
, drop_by_rank
,
drop_clstrs
, get_clstr_slot
,
get_nsqs
, 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
1 2 3 4 5 6 7 | data("dragonflies")
# drop random sequences from cluster 0
clstr <- dragonflies[['0']]
# specify the sids to *keep*
sids <- sample(clstr@sids, 100)
(dragonflies <- drop_sqs(phylota = dragonflies, cid = '0', sid = sids))
# Note, sequences dropped may be represented in other clusters
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.