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)

thomasp85/FindMyFriends documentation built on April 25, 2020, 1:06 p.m.