Skip to contents

This function converts the orthogroups file named Orthogroups.tsv to a parsed data frame.

Usage

read_orthogroups(orthogroups_path = NULL)

Arguments

orthogroups_path

Path to Orthogroups/Orthogroups.tsv file generated by OrthoFinder.

Value

A 3-column data frame with orthogroups, species IDs and gene IDs, respectively.

Author

Fabricio Almeida-Silva

Examples

path <- system.file("extdata", "Orthogroups.tsv.gz", package = "cogeqc")
og <- read_orthogroups(path)