filter_genomes | R Documentation |
This function applies dplyr::filter()
to the genomes table of a tidygenomes
object and subsequently filters all other components of the tidygenomes
object to retain only the requested genomes. It is also possible to filter on
variables of the phylogroups table, if present.
filter_genomes(tg, ...)
tg |
A tidygenomes object |
... |
Filtering expression to pass on to |
A tidygenomes object
genomes <- data.frame(genome = c("genome 1", "genome 2")) tg <- as_tidygenomes(genomes) tg <- filter_genomes(genomes, genome == "genome 1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.