public class RESParser
extends java.lang.Object
The first line contains a list of labels identifying the samples associated with each of the columns in the remainder of the file. Two tabs (\t\t) separate the sample identifier labels because each sample contains two data values (an expression value and a present/marginal/absent call).
Line format:
Description (tab) Accession (tab) (sample 1 name) (tab) (tab) (sample 2 name) (tab) (tab) ... (sample N name)
Description Accession DLBC1_1 DLBC2_1 ... DLBC58_0
Line format:
(tab) (sample 1 description) (tab) (tab) (sample 2 description) (tab) (tab) ... (sample N description)
MG2000062219AA MG2000062256AA/scale factor=1.2172 ... MG2000062211AA/scale factor=1.1214
Line format:
(# of data rows)
7129
Line format:
(gene description) (tab) (gene name) (tab) (sample 1 data) (tab) (sample 1 A/P call) (tab) (sample 2 data) (tab) (sample 2 A/P call) (tab) ... (sample N data) (tab) (sample N A/P call)
AFFX-BioB-5_at (endogenous control) AFFX-BioB-5_at -104 A -152 A ... -44 A
| Constructor and Description |
|---|
RESParser()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDataset |
parse(java.io.File file)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(java.lang.String path)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.File file)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.InputStream stream)
Parse a RES dataset from an input stream.
|
AttributeDataset |
parse(java.lang.String name,
java.lang.String path)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.net.URI uri)
Parse a RES dataset from given URI.
|
AttributeDataset |
parse(java.net.URI uri)
Parse a RES 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