load_annotations: Use one of the load_*_annotations() functions to gather...

View source: R/annotation_shared.R

load_annotationsR Documentation

Use one of the load_*_annotations() functions to gather annotation data.

Description

We should be able to have an agnostic annotation loader which can take some standard arguments and figure out where to gather data on its own.

Usage

load_annotations(type = NULL, ...)

Arguments

type

Explicitly state the type of annotation data to load. If not provided, try to figure it out automagically.

...

Arguments passed to the other load_*_annotations().

Value

Some annotations, hopefully.

See Also

[load_biomart_annotations()] [load_gff_annotations()] [load_genbank_annotations()] [load_kegg_annotations()] [load_trinotate_annotations()] [load_microbesonline_annotations()] [load_uniprot_annotations()]

Examples

 example_gff <- get_paeruginosa_data()[["gff"]]
 gff_annotations <- load_annotations(type = "gff", gff = example_gff)
 dim(gff_annotations)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.