Question: about the class labels of cls file
1
gravatar for pathreskoo
4.3 years ago by
pathreskoo10
pathreskoo10 wrote:

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?

genepattern cls • 965 views
ADD COMMENTlink modified 4.3 years ago by Mike1.6k • written 4.3 years ago by pathreskoo10

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 REPLYlink written 13 months ago by ZeroFung10
0
gravatar for Mike
4.3 years ago by
Mike1.6k
UK
Mike1.6k wrote:

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 COMMENTlink modified 4.3 years ago • written 4.3 years ago by Mike1.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1337 users visited in the last hour