title: r plotting on wrong scale
body: <p>I have a dataset that looks like this:</p>
  
  <pre><code>         time ctrl_lsm1_stat     id     ratio
  ABP140.1    1             no ABP140 -0.262682
  ARI1.1      1             no   ARI1 -0.163952
  BPH1.1      1             no   BPH1 -0.517519
  BUR6.1      1            yes   BUR6  0.645573
  CDC20.1     1             no  CDC20 -0.264072
  CLB2.1      1             no   CLB2 0.0690172
  </code></pre>
  
  <p>But when I try to plot it using this code:</p>
  
  <pre><code>plot(d2$time, d2$ratio, col=ifelse(d2$ctrl_lsm1_stat=="yes",1,2),cex=2.0)
  </code></pre>
  
  <p>I get this output:</p>
  
  <p><img src="https://i.stack.imgur.com/j5Y5Y.png" alt="enter image description here"></p>
  
  <p>Can anyone tell me why R is messing up the ratio values and why are they constantly increasing? The largest ratio value in my dataset is 3.63236 and the smallest is -0.0153141, so the scale should be between those values. </p>