Learn R Programming

gCMAPWeb (version 1.12.0)

load_cmaps: Loading reference datasets

Description

This function connects to / loads all reference datasets and returns them in a list

Usage

load_cmaps(conf_data, min.set.size = getOption("min.set.size", default = 5))

Arguments

conf_data
list, the configuration data as returned by the read_config_file function
min.set.size
integer, gene sets with less than min.set.size members will be dropped from CMAPCollections

Value

list of eSet objects

Examples

Run this code
library(yaml)
## read the example configuration file
conf_data <- yaml.load_file( system.file("config", "config.yml",
             package="gCMAPWeb") )
## load the example reference NChannelSet objects specified in
## the configuration file
ref.cmaps <- load_cmaps( conf_data )
class( ref.cmaps )
names( ref.cmaps )
ref.cmaps[[1]]

Run the code above in your browser using DataLab