load_cmaps: Loading reference datasets

Description Usage Arguments Value Author(s) Examples

View source: R/file_io.R

Description

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

Usage

1
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

Author(s)

Thomas Sandmann

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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]]

gCMAPWeb documentation built on April 28, 2020, 8:23 p.m.