load_public_dataset: load_public_dataset

View source: R/public_data.R

load_public_datasetR Documentation

load_public_dataset

Description

Loads a public dataset that was found through the find_public_datasets function. The dataset is returned as a Biobase ExpressionSet object.

Usage

load_public_dataset(dataset_entry, verbose = FALSE, reactome_url = NULL)

Arguments

dataset_entry

The entry of the respective dataset as returned by the find_public_datasets function.

verbose

If set to TRUE, status messages and a status bar are displayed.

reactome_url

URL of the Reactome API Server. Overwrites the URL set in the 'reactome_gsa.url' option. Specific ports can be set using the standard URL specification (for example http://your.service:1234)

Value

The loaded data as an ExpressionSet object.

Examples

# As a first step, you need to find available datasets
available_datasets <- find_public_datasets("psoriasis tnf")

# have a quick look at the found datasets
available_datasets[, c("id", "title")]

# load the first one, use the whole row of the found datasets
# data.frame as the parameter
dataset_1 <- load_public_dataset(available_datasets[1,], verbose = TRUE)


reactome/ReactomeGSA documentation built on Nov. 9, 2024, 10:56 a.m.