add_tidygenomes | R Documentation |
This function adds a second tidygenomes object, or data from which a tidygenomes object can be created, to a tidygenomes object.
add_tidygenomes(tg, data)
tg |
A tidygenomes object |
data |
A tidygenomes object or data type that can be converted into a tidygenomes object |
See as_tidygenomes()
for a list of what data
can be.
A tidygenomes object
genomes <- data.frame(genome = c("genome 1", "genome 2"))
genes <- data.frame(
gene = c("gene A", "gene B", "gene C"),
genome = c("genome 1", "genome 1", "genome 2"),
orthogroup = c("og alpha", "og beta", "og alpha")
)
tg <- as_tidygenomes(genomes)
tg <- add_tidygenomes(genes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.