multiObjects: Retrieve multiple Reactome objects

View source: R/queries.R

multiObjectsR Documentation

Retrieve multiple Reactome objects

Description

The matchObject function takes only one id/name at a time, this method allows you to input many ids and get an aggregated table for their detailed information. It can only accept ids for now.

Usage

multiObjects(ids, databaseName = "Reactome", speedUp = FALSE, cluster = 2)

Arguments

ids

Reactome stIds/dbIds, or non-Reactome ids

databaseName

database name

speedUp

set TRUE to use doParallel method

cluster

the number of cluster in makeCluster

Value

Reactome database objects for the given ids

See Also

matchObject for details

Examples

## "ids" can be Reactome or non-Reactome ids
ids <- c("P02741", "P08887", "P08505", "Q9GZQ8")
#res <- multiObjects(ids, databaseName="UniProt", speedUp=TRUE)


reactome/ReactomeGraph4R documentation built on May 15, 2023, 8:45 p.m.