Learn R Programming

FindMyFriends (version 1.2.2)

readAnnot: 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

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

# Parse the file
readAnnot(annot)

Run the code above in your browser using DataLab