plot_gene_accumulation_curves: Plot gene accumulation curves

View source: R/pan_genome_extensions.R

plot_gene_accumulation_curvesR Documentation

Plot gene accumulation curves

Description

Plot gene accumulation curves from a gene_presence_absence file from a pan-genome analysis using vegan and ggplot2

Usage

plot_gene_accumulation_curves(gene_presence_absence_file, groups)

Arguments

gene_presence_absence_file

gene_presence_absence.Rtab file from Roary or Panaroo

groups

Named vector with a list of lists of strains, with the name being each cluster / lineage / species etc.

Value

Plot of gene accumulation curves, and the dataframe used to plot these

Examples

plot_gene_accumulation_curves(gene_presence_absence.Rtab, list_of_groups)

djw533/micro.gen.extra documentation built on Nov. 8, 2024, 5:11 a.m.