User Tools

Site Tools


wiki2016r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
wiki2016r [2017/11/30 08:01]
erin
wiki2016r [2017/11/30 08:03]
erin
Line 132: Line 132:
 </​code>​ </​code>​
  
-:!: **Exercise**:​ Import the data into R using **read.table**. ​+:!: **Exercise**:​ Import the data into R using **read.table** and save the information as an object called **RNAstats**.
  
 ----  ---- 
Line 155: Line 155:
 help(par) help(par)
 </​code>​ </​code>​
 +
 +:!: Use the **plot** function to try to plot either the input or the mapped read counts in your **RNAstats** object.
 +
  
 ---- ----
Line 162: Line 165:
 <code rsplus> <code rsplus>
  
-pdf("​filename.png"​) ​     # Start an output destination+pdf("​filename.pdf"​) ​     # Start an output destination
 plot(x, y, col = "​red"​) ​ # Start plotting plot(x, y, col = "​red"​) ​ # Start plotting
 dev.off() ​               # Turn off the plotting function dev.off() ​               # Turn off the plotting function
wiki2016r.txt ยท Last modified: 2017/11/30 08:03 by erin