meshdata {meshes} | R 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)

[Package meshes version 1.20.0 Index]