inflate_pangenome: Inflate one of the pangenomes of a metapangenome

Description Usage Arguments Details Value

Description

This function inflates one of the pangenomes of what you could call a "metapangenome": a pangenome where one or more individual genomes represent(s) the entire pangenome of one species. The orthogroups of this species are represented as individual genes in the metapangenome. This function will replace the single species to be inflated by the individual genomes of which is consists, and its "genes" with the complete species-level orthogroups.

Usage

1
inflate_pangenome(tg_meta, tg_species, species)

Arguments

tg_meta

A tidygenomes object containing the metapangenome

tg_species

A tidgenomes object containing the species pangenome

species

The genome in the metapangenome that represents the species to inflate

Details

The genes in the metapangenome that belong to the genome (species) to be inflated should correspond to orthogroups in the species pangenome.

Value

A tidygenomes object


SWittouck/tidygenomes documentation built on Feb. 21, 2020, 8:13 p.m.