load_trinotate_annotations: Read a csv file from trinotate and make an annotation data...

View source: R/annotation_txt.R

load_trinotate_annotationsR Documentation

Read a csv file from trinotate and make an annotation data frame.

Description

Trinotate performs some neat sequence searches in order to seek out likely annotations for the trinity contigs. The resulting csv file is encoded in a peculiar fashion, so this function attempts to make it easier to read and put them into a format usable in an expressionset.

Usage

load_trinotate_annotations(
  trinotate = "reference/trinotate.csv",
  collapse = FALSE
)

Arguments

trinotate

CSV of trinotate annotation data.

collapse

Collapse isoforms to genes?

Value

Dataframe of fun data.

See Also

[tidyr] [readr]

Examples

 sb_annot <- get_sbetaceum_data()[["annot"]]
 a_few_trinotate <- load_trinotate_annotations(trinotate = sb_annot)
 dim(a_few_trinotate)

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