Learn R Programming

ESEA (version 1.0)

GetExampleData: Get the example data

Description

Get the example data.

Usage

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.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab