read.cls {CePa}R Documentation

Read CLS file which stores the phenotype data

Description

Read CLS file which stores the phenotype data

Usage

read.cls(file, treatment, control)

Arguments

file

cls file path

treatment

string of treatment label in cls file

control

string of control label in cls file

Details

The CLS file format defines the phenotype data of microarray experiments. The first line is the number of samples, number of classes and the third number always be 1. These three numbers are seperated by spaces or tabs. The second line begins with #. The next two strings usually are the label of the phenotype. The third line is the label of each samples where same label represents the same class.

The first and the second line is ignored by this function and class labels are taken from the factor of the vector parsed from the third line.

Value

A sampleLabel class object

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

read.gct, sampleLabel

Examples

## Not run: 
# P53.cls can be downloaded from
# http://mcube.nju.edu.cn/jwang/lab/soft/cepa/
label = read.cls("http://mcube.nju.edu.cn/jwang/lab/soft/cepa/P53.cls", 
    treatment="MUT", control="WT")

## End(Not run)

[Package CePa version 0.8.0 Index]