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.header
Array Returns the file header as a string array. result.values
Array Returns the file values as an array of arrays. initialize
function A callback function that is called when the file is loaded. - Source:
- ../js/jheatmap-1.0.0.js, line 344