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