Description Usage Arguments Details Value Source Author(s) See Also Examples
Read CLS file which stores the phenotype data
1 |
file |
cls file path |
treatment |
string of treatment label in cls file |
control |
string of control label in cls file |
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.
A sampleLabel
class object
https://www.broadinstitute.org/cancer/software/gsea/wiki/index.php/Data_formats
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 | ## Not run:
# P53.cls can be downloaded from
# https://mcube.nju.edu.cn/jwang/lab/soft/cepa/
label = read.cls("https://mcube.nju.edu.cn/jwang/lab/soft/cepa/P53.cls",
treatment="MUT", control="WT")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.