syncWithNCBI: Synchronize signatures with NCBI Taxonomy

View source: R/calcSemanticSimilarity.R

syncWithNCBIR Documentation

Synchronize signatures with NCBI Taxonomy

Description

Helper function for synchronizing signatures with NCBI Taxonomy

Usage

syncWithNCBI(sigs, onto)

Arguments

sigs

signatures. A list of character vectors. Typically obtained via getSignatures.

onto

ontology. An object of class ontology_index storing the NCBI Taxonomy. Typically obtained via getNcbiTaxonomyObo.

Value

The input signatures synchronized with the NCBI Taxonomy

Examples

 library(bugsigdbr)
 df <- importBugSigDB()
 sigs <- getSignatures(df)
 onto <- getNcbiTaxonomyObo()
 sigs <- syncWithNCBI(sigs, onto)
 

waldronlab/BugSigDBStats documentation built on Oct. 15, 2024, 5:16 p.m.