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 Dec. 18, 2024, 7:29 p.m.