meshdata: meshdata

View source: R/utilities.R

meshdataR Documentation

meshdata

Description

construct annoData for semantic measurement

Usage

meshdata(MeSHDb = NULL, database, category, computeIC = FALSE)

Arguments

MeSHDb

MeSHDb package

database

one of supported database

category

one of supported category

computeIC

logical value

Value

a GOSemSimDATA object

Author(s)

Guangchuang Yu

Examples

## Not run: 
library(meshes)
library(AnnotationHub)
ah <- AnnotationHub()
qr_hsa <- query(ah, c("MeSHDb", "Homo sapiens"))
filepath_hsa <- qr_hsa[[1]]
db <- MeSHDbi::MeSHDb(filepath_hsa)
hsamd <- meshdata(db, category='A', computeIC=T, database="gendoo")

## End(Not run)

GuangchuangYu/meshes documentation built on Nov. 12, 2022, 7:13 a.m.