title: How to use image() function to plot the data in R
body: <p>I have a clinical dataset and I would like to plot it using <code>image()</code> function to see if I can spot out the different groups within my data.</p>
  
  <p>The structure of this data is a <code>List of 2</code>: 56 samples and 5000 gene expressions.</p>
  
  <p>When I use <code>image(lung)</code>, all I see a just a plot of orange color and I do not see pattern or any group standing out to me.</p>
  
  <p>Basically, there are four types of clinical conditions in the dataset: Colon cancer (13 samples), smallcell (6 samples), etc.</p>
  
  <p>I wanted to see, for instance, ```smallcell" with 6 samples has its own pattern compared to the rest of the groups/conditions within this dataset.</p>
  
  <pre><code>load(url("https://github.com/hughng92/dataset/raw/master/lung.RData"))
  rownames(lung)
  image(lung)
  </code></pre>
  
  <p>This is all I see:
  <a href="https://i.stack.imgur.com/Dei28.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dei28.png" alt="enter image description here"></a></p>
  
  <p>I am wondering if I can <strong>combine</strong> the four different plots of these 4 conditions from the data set, it will look different.</p>
  
  <p>Any tip would be great!</p>