Biomod/2011/Caltech/DeoxyriboNucleicAwesome/Protocols

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
(Things that need to be written)
Line 8: Line 8:
*How to analyze fluorescence experiments (when we learn this)
*How to analyze fluorescence experiments (when we learn this)
*How we ran experiments...
*How we ran experiments...
 +
 +
===How to Open SPEX Data in MATLAB===
 +
*Open up MATLAB and use File->Import Data
 +
*Navigate to the raw-text (.txt) data file and open it
 +
*The table on the right should show eight rows, where the odd ones are the times associated with the signal from the row under them. The top set is sample 1; the next is 2, the next is 3, the bottom set is sample 4. Press "next."
 +
*Optionally right click on "data" and rename it to whatever you want. This isn't necessary unless you're afraid of your data getting overwritten eventually when you import another set.
 +
*Click "finish."
 +
*Your data should be visible in the "workspace" window with the name "data" or whatever you might have renamed it to. Right click on it -> "open selection" to view it.
 +
*To plot a single sample's data, use this, where "data" is the name of your data variable:
 +
:<syntaxhighlight lang="matlab">plot(data(1, :), data(2, :))</syntaxhighlight>
 +
*To plot all four samples' data on the same plot, use this:
 +
:<syntaxhighlight lang="matlab">plot(data(1, :), data(2, :), data(3, :), data(4, :), data(5, :), data(6, :), data(7, :), data(8, :))</syntaxhighlight>
{{Template:DeoxyriboNucleicAwesomeFooter}}
{{Template:DeoxyriboNucleicAwesomeFooter}}

Revision as of 18:40, 15 July 2011

Image:DeoxyriboNucleicAwesomeHeader.jpg

Monday, September 22, 2014

Home

Members

Project

Protocols

Progress

Discussion

References


Protocols

Contents

Things that need to be written

  • Quantitating DNA
  • How to run a gel
  • How to do AFM (when we learn this)
  • How to analyze fluorescence experiments (when we learn this)
  • How we ran experiments...

How to Open SPEX Data in MATLAB

  • Open up MATLAB and use File->Import Data
  • Navigate to the raw-text (.txt) data file and open it
  • The table on the right should show eight rows, where the odd ones are the times associated with the signal from the row under them. The top set is sample 1; the next is 2, the next is 3, the bottom set is sample 4. Press "next."
  • Optionally right click on "data" and rename it to whatever you want. This isn't necessary unless you're afraid of your data getting overwritten eventually when you import another set.
  • Click "finish."
  • Your data should be visible in the "workspace" window with the name "data" or whatever you might have renamed it to. Right click on it -> "open selection" to view it.
  • To plot a single sample's data, use this, where "data" is the name of your data variable:
plot(data(1, :), data(2, :))
  • To plot all four samples' data on the same plot, use this:
plot(data(1, :), data(2, :), data(3, :), data(4, :), data(5, :), data(6, :), data(7, :), data(8, :))
Personal tools