       .attr("height", yscale.rangeBand())
       .attr("id", (d) -> "r#{d.row}c#{d.col}")
       .style("fill", (d) -> zscale(d.value))
+
+
+  # area on right, top, containing info on marker pair, rec frac, and LOD
+  temp = lwidth+margin.left+margin.right
+  xrscale = d3.scale.linear().domain([0, 100]).range([temp, temp+rwidth])
+  rtheight = (height-margin.top-margin.bottom)*0.4
+  rbheight = (height - margin.top - margin.bottom) - rtheight
+  yrtscale = d3.scale.linear().domain([0, 100]).range([rtheight, 0])
+  temp = rtheight + margin.top + margin.bottom
+  yrbscale = d3.scale.linear().domain([0, 100]).range([rbheight+temp, temp])
 
   cells.on("mouseover", (d) -> mouseover(d))
 

  rf = rfdata.rf

  # scales for pixels
  xscale = d3.scale.ordinal().domain(d3.range(nmar)).rangeBands([0, width])
  yscale = d3.scale.ordinal().domain(d3.range(nmar)).rangeBands([height, 0])

  # scale for pixel color (orange indicates missing values)

      .attr("class", "axis")
      .attr("id", "ylab")
      .attr("y", (d) -> (yscale(d.hi)+yscale(d.lo))/2+yscale.rangeBand())
      .attr("x", lwidth+margin.right*0.4)
      .attr("text-anchor", "middle")
      .text((d) -> d.chr)

