read_orthofinder_stats | R Documentation |
Read and parse Orthofinder summary statistics
read_orthofinder_stats(stats_dir = NULL)
stats_dir |
Path to directory containing Orthofinder's comparative genomics statistics. In your Orthofinder results directory, this directory is named Comparative_Genomics_Statistics. |
A list of data frames with the following elements:
stats A data frame of summary stats per species with the following variables:
Factor of species names.
Numeric of number of genes.
Numeric of number of genes in orthogroups.
Numeric of percentage of genes in orthogroups.
Numeric of number of species-specific orthogroups.
Numeric of number of genes in species-specific orthogroups.
Numeric of percentage of genes in species-specific orthogroups.
Integer with number of duplications per species.
og_overlap A symmetric data frame of pairwise orthogroup overlap between species.
duplications A 2-column data frame with node IDs in the first column and number of gene duplications (50% support) in the second column.
stats_dir <- system.file("extdata", package = "cogeqc")
ortho_stats <- read_orthofinder_stats(stats_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.