collapse_species | R Documentation |
This function collapses each species to a single genome, and each orthogroup within a species to a single gene.
collapse_species(tg, core_threshold = 0.9)
tg |
A tidygenomes object |
core_threshold |
The minimum percentage of genomes within a species where a gene needs to be present to be considered a core gene |
A variable "species" must be present in the genome table for this function to work.
A variable "status" will be added to the gene table, indicating for each gene whether the orthogroup that gene belongs to is core or accessory within the species.
A tidygenomes object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.