gocats_to_annotation: gocats to annnotations

View source: R/gocats.R

gocats_to_annotationR Documentation

gocats to annnotations

Description

Transforms a gocats ancestors JSON list to a GO annotation object.

Usage

gocats_to_annotation(
  ancestors_file = "ancestors.json",
  namespace_file = "namespace.json",
  annotation_type = "gocatsGO",
  feature_type = "Uniprot",
  feature_translation = NULL
)

Arguments

ancestors_file

the ancestors.json file from gocats (required)

namespace_file

the namespace.json file from gocats (optional)

annotation_type

what annotations are we making? (gocatsGO by default)

feature_type

what type of features are we using (assume Uniprot)

feature_translation

a data.frame used to convert the feature IDs

Value

annotation object


MoseleyBioinformaticsLab/categoryCompare2 documentation built on April 30, 2024, 9:09 p.m.