about the class labels of cls file
1
1
Entering edit mode
8.3 years ago
pathreskoo ▴ 10

Suppose I have to create a cls file, do the number of the class labels have to formed in groups, such as

0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1

or it can be

0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1

Because if it have to formed into the grouped, then I have to modified the gct file everytime I want to regroup my samples.

Any Idea?

cls genepattern • 2.1k views
ADD COMMENT
0
Entering edit mode

did you find out the answer? I am confused too, when I find out my class labels are reordered in the cls file in output edb folder,. So which cls did GSEA use? The cls in edb folder, or my original one? Thanks.

ADD REPLY
0
Entering edit mode
8.3 years ago
Mike ★ 1.9k

order of class should be same in both files (cls & gct), so in categorical label, the cls file should be in grouped format (according your first example)

take a look at this link : http://www.broadinstitute.org/cancer/software/genepattern/file-formats-guide

"The third line contains a class label for each sample. The class labels are sequential numbers beginning with zero. The first label used (0) is assigned to the first class named on the second line; the second unique label (1) is assigned to the second class named; and so on. (NOTE: While most GenePattern modules adhere to this rule of 0 as the first class, some modules (such as GSEA) do not. Check the documentation for the module you are using if you are unsure.) The number of class labels specified on this line should be the same as the number of samples specified in the first line. The number of unique class labels specified on this line should be the same as the number of classes specified in the first line. "

ADD COMMENT

Login before adding your answer.

Traffic: 1692 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6