get_clade | R Documentation |
Extract the clade of a desired rank in a lineage
get_clade(lineage, rank = yatah::all_ranks, same = TRUE)
lineage |
string. Vector of lineages. |
rank |
The desired rank of the clade. |
same |
logical. Does the lineage have the same depth? Default to |
A string.
lineage1 <- "k__Bacteria|p__Verrucomicrobia|c__Verrucomicrobiae"
lineage2 <- "k__Bacteria|p__Firmicutes|c__Clostridia"
get_clade(c(lineage1, lineage2), "phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.