plot_genes_in_ogs: Plot percentage of genes in orthogroups for each species

View source: R/visualization.R

plot_genes_in_ogsR Documentation

Plot percentage of genes in orthogroups for each species

Description

Plot percentage of genes in orthogroups for each species

Usage

plot_genes_in_ogs(stats_list = NULL)

Arguments

stats_list

A list of data frames with Orthofinder summary stats as returned by the function read_orthofinder_stats.

Value

A ggplot object with a barplot of percentages of genes in orthogroups for each species.

Examples

dir <- system.file("extdata", package = "cogeqc")
stats_list <- read_orthofinder_stats(dir)
plot_genes_in_ogs(stats_list)

almeidasilvaf/cogeqc documentation built on Jan. 29, 2024, 7:20 a.m.