read-gaf: read.gaf

read.gafR Documentation

read.gaf

Description

parse GAF files

Usage

read.gaf(file, asis = FALSE, add_indirect_GO = FALSE)

parse_gff(file, asis = FALSE, add_indirect_GO = FALSE)

Arguments

file

GAF file

asis

logical, whether output the original contains of the file and only works if 'add_indirect_GO = FALSE'

add_indirect_GO

whether to add indirect GO annotation

Details

given a GAF file, this function extracts the information from it

Value

A data.frame. Original table if 'asis' works, otherwise contains 3 conlumns of 'GENE', 'GO' and 'ONTOLOGY'


YuLab-SMU/GOSemSim documentation built on Nov. 1, 2024, 4:43 a.m.