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. 21, 2023, 6:11 a.m.