public class GCTParser
extends java.lang.Object
The first line contains the version string and is always the same for this file format. Therefore, the first line must be as follows:
#1.2
Line format:
(# of data rows) (tab) (# of data columns)
7129 58
Line format:
Name(tab)Description(tab)(sample 1 name)(tab)(sample 2 name) (tab) ... (sample N name)
Name Description DLBC1_1 DLBC2_1 ... DLBC58_0
Line format:
(gene name) (tab) (gene description) (tab) (col 1 data) (tab) (col 2 data) (tab) ... (col N data)
AFFX-BioB-5_at AFFX-BioB-5_at (endogenous control) -104 -152 -158 ... -44
| Constructor and Description |
|---|
GCTParser()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDataset |
parse(java.io.File file)
Parse a GCT dataset from given file.
|
AttributeDataset |
parse(java.lang.String path)
Parse a GCT dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.File file)
Parse a GCT dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.InputStream stream)
Parse a GCT dataset from an input stream.
|
AttributeDataset |
parse(java.lang.String name,
java.lang.String path)
Parse a GCT dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.net.URI uri)
Parse a GCT dataset from given URI.
|
AttributeDataset |
parse(java.net.URI uri)
Parse a GCT dataset from given URI.
|
public AttributeDataset parse(java.net.URI uri) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.net.URI uri) throws java.io.IOException, java.text.ParseException
uri - the URI of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String path) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.lang.String path) throws java.io.IOException, java.text.ParseException
path - the file path of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.io.File file) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.io.File file) throws java.io.IOException, java.text.ParseException
file - the file of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.io.InputStream stream) throws java.io.IOException, java.text.ParseException
name - the name of dataset.stream - the input stream of data.java.io.IOExceptionjava.text.ParseException