GetExampleData: Get the example data

Description Usage Arguments Details Author(s) Examples

View source: R/GetExampleData.R

Description

Get the example data.

Usage

1
2
  GetExampleData(exampleData)
  

Arguments

exampleData

A character string, must be one of "dataset", "class.labels" and "controlcharactor".

Details

The function GetExampleData(exampleData="dataset") obtains gene expression dataset from the environment variable envData.

The function GetExampleData(exampleData="class.labels") obtains class labels from the environment variable envData.

The function GetExampleData(exampleData="controlcharactor") obtains control sample label from the environment variable envData.

Author(s)

Junwei Han <hanjunwei1981@163.com>, Xinrui Shi<xinrui103@163.com> and Chunquan Li <lcqbio@163.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

#obtain the gene expression dataset.
dataset<-GetExampleData(exampleData="dataset")
dataset[1:10,]

#obtain the class labels.
class.labels<-GetExampleData(exampleData="class.labels")

#obtain the control sample label.
controlcharactor<-GetExampleData(exampleData="controlcharactor")


## End(Not run)

hanjunwei-lab/ESEA documentation built on July 5, 2020, 11:01 a.m.