is_clade | R Documentation |
Test if a lineage belongs to a clade
is_clade(lineage, clade, rank = c(".", yatah::all_ranks))
lineage |
string. Vector of lineages. |
clade |
string. |
rank |
string. One of |
If rank
is set to .
, clade is looked for
among all ranks.
logical.
lineage1 <- "k__Bacteria|p__Verrucomicrobia|c__Verrucomicrobiae"
lineage2 <- "k__Bacteria|p__Firmicutes|c__Clostridia"
is_clade(c(lineage1, lineage2), clade = "Verrucomicrobia", rank = "phylum")
is_clade(c(lineage1, lineage2), clade = "Clostridia")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.