View source: R/pan_genome_extensions.R
plot_gene_accumulation_curves | R Documentation |
Plot gene accumulation curves from a gene_presence_absence file from a pan-genome analysis using vegan and ggplot2
plot_gene_accumulation_curves(gene_presence_absence_file, groups)
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. |
Plot of gene accumulation curves, and the dataframe used to plot these
plot_gene_accumulation_curves(gene_presence_absence.Rtab, list_of_groups)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.