readAnnot {FindMyFriends} | R Documentation

## Import annotation from an .annot file

### Description

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

### Usage

    readAnnot(file)

### 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

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

    # Parse the file
    readAnnot(annot)

[Package FindMyFriends version 1.14.0 Index]