| Gmx {SMRUCC.genomics.Analysis.HTS.GSEA.Formats} | .NET clr documentation |
*.gmx)The GMX format is the transposed variant of the Gmt format: in the GMX format each column represents a gene set, while in the GMT format each row represents a gene set.
The GMX format uses tabs to separate the fields, and the file layout is:
The member genes are read row by row from the third line, an empty cell in a column means that the current gene set has no more member gene at this row.
Note that the description line is a required part of the file format: if it is missing then the member genes would be read as the description data, and the parsed result will contains no gene set at all(numberOfSets is zero).
# namespace SMRUCC.genomics.Analysis.HTS.GSEA.Formats
export class Gmx {
# The gene sets that defined in the gmx file, each column in the source file is parsed as one Cluster object.
clusters: Cluster[];
# The comment lines(# prefix) that read from the gmx file, usually these data is the metadata of the gene set database.
comments: string;
# The number of the gene sets that defined in this gmx file.
numberOfSets: integer;
}
clusters: Cluster