read_orthogroups: Read and parse orthogroups file created by OrthoFinder

View source: R/file_import.R

read_orthogroupsR Documentation

Read and parse orthogroups file created by OrthoFinder

Description

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(s)

Fabricio Almeida-Silva

Examples

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

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