new AnnotationReader
A text separated value file table reader
Parameters:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
p.url |
string | File url | ||
p.separator |
string |
<optional> |
"tab" | Value separator character |
- Source:
- ../js/jheatmap-1.0.0.js, line 330
Example
new jheatmap.readers.AnnotationReader({ url: "filename.tsv" });
Methods
-
read
-
Asynchronously reads a text separated value file, the result is returned in the 'result' parameter.
Parameters:
Name Type Description result.headerArray Returns the file header as a string array. result.valuesArray Returns the file values as an array of arrays. initializefunction A callback function that is called when the file is loaded. - Source:
- ../js/jheatmap-1.0.0.js, line 344