Description Usage Arguments Details Author(s) Examples
View source: R/GetExampleData.R
Get the example data.
1 2 | GetExampleData(exampleData)
|
exampleData |
A character string, must be one of "dataset", "class.labels" and "controlcharactor". |
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
.
Junwei Han <hanjunwei1981@163.com>, Xinrui Shi<xinrui103@163.com> and Chunquan Li <lcqbio@163.com>
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.