inflate_pangenome: Inflate one of the pangenomes of a metapangenome

inflate_pangenomeR Documentation

Inflate one of the pangenomes of a metapangenome

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

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. 1, 2023, 9:50 p.m.