Class: GctHeatmapReader

jheatmap.readers.GctHeatmapReader

new GctHeatmapReader

A text separated value GenePattern GCT file matrix reader. The file has to follow this format:


   #1.2
  Name  Description      col1    col2
  row1  row1desc		 	0.11    0.12
  row2   row2desc 		0.21    0.22

Parameters:
Name Type Description
p.url string File url
Author:
  • Ted Liefeld
Source:
  • ../js/jheatmap-1.0.0.js, line 394
Example
new jheatmap.readers.GctHeatmapReader({ url: "filename.gct" });

Methods

read

Asynchronously reads a text separated value file, the result is loaded in the 'heatmap' parameter.

Parameters:
Name Type Description
heatmap jheatmap.Heatmap The destination heatmap.
initialize function A callback function that is called when the file is loaded.
Source:
  • ../js/jheatmap-1.0.0.js, line 409