readAnnot: Import annotation from an .annot file

Description Usage Arguments Value Examples

View source: R/aaa.R

Description

This function makes it easy to import annotation create in Blast2GO or other programs supporting .annot exporting of results.

Usage

1

Arguments

file

The .annot file to import

Value

A data.frame ready to merge with a pangenome object using addGroupInfo with the key argument set to 'name'.

Examples

1
2
3
4
5
# Get path to file
annot <- system.file('extdata', 'examplePG', 'example.annot', package='FindMyFriends')

# Parse the file
readAnnot(annot)

FindMyFriends documentation built on Nov. 8, 2020, 6:46 p.m.