public class RESParser extends 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(File file)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(String path)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(String name,
File file)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(String name,
InputStream stream)
Parse a RES dataset from an input stream.
|
AttributeDataset |
parse(String name,
String path)
Parse a RES dataset from given file.
|
AttributeDataset |
parse(String name,
URI uri)
Parse a RES dataset from given URI.
|
AttributeDataset |
parse(URI uri)
Parse a RES dataset from given URI.
|
public AttributeDataset parse(URI uri) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, URI uri) throws FileNotFoundException, IOException, ParseException
uri - the URI of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(String path) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, String path) throws FileNotFoundException, IOException, ParseException
path - the file path of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(File file) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, File file) throws FileNotFoundException, IOException, ParseException
file - the file of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(String name, InputStream stream) throws IOException, ParseException
name - the name of dataset.stream - the input stream of data.FileNotFoundExceptionIOExceptionParseExceptionCopyright © 2015. All rights reserved.