getData: Datasource and underlying network loading

Description Usage Arguments Details Value Examples

Description

Function to load a gene expression datasource and the network that have generate it.

Usage

1
    getData(datasource.name=NULL,getNet=TRUE)

Arguments

datasource.name

A character containing the name of network datasources to (default: NULL).

getNet

Logical specifying if the true underlying network should be returned (default: TRUE).

Details

If getNet is TRUE the function will return a list with two components:

  1. A data.frame with the specified datasoruce.

  2. A matrix with the true underlying network.

Value

The function getData loads the specified datasource by datasource.name and its true underlying network if it is specified by getNet.

Examples

1
2
3
4
5
6
    # Get only datasource
    data <- getData(datasource.name="syntren300",getNet=FALSE)
    # Get the datasource and network in a list
    mydata <- getData(datasource.name="syntren1000")
    data <- mydata[[1]]
    net <- mydata[[2]]

Example output



grndata documentation built on May 2, 2019, 4:53 p.m.