<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Neuromancy Blog</title>
	<atom:link href="http://neuromancy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://neuromancy.wordpress.com</link>
	<description>Now at http://neuromancy.southerfriedscience.com</description>
	<lastBuildDate>Fri, 06 Jan 2012 00:37:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='neuromancy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Neuromancy Blog</title>
		<link>http://neuromancy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://neuromancy.wordpress.com/osd.xml" title="Neuromancy Blog" />
	<atom:link rel='hub' href='http://neuromancy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>I&#8217;m on the move!</title>
		<link>http://neuromancy.wordpress.com/2011/01/14/im-on-the-move/</link>
		<comments>http://neuromancy.wordpress.com/2011/01/14/im-on-the-move/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 13:34:58 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Blog stuff]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=311</guid>
		<description><![CDATA[I&#8217;ve moved house! I&#8217;ve just seen that I&#8217;ve been officially launched over at the Southern Fried Science blogging network. So ladies and gentlemen, update your bookmarks and adjust your RSS readers. I can now be found at http://neuromancy.southernfriedscience.com I&#8217;ve locked comments on all the articles here, but everything&#8217;s been transferred over to SFS, comments and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=311&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve moved house! I&#8217;ve just seen that I&#8217;ve been officially launched over at the <a href="http://gam.southernfriedscience.com/">Southern Fried Science blogging network</a>. So ladies and gentlemen, update your bookmarks and adjust your RSS readers. I can now be found at <a href="http://neuromancy.southernfriedscience.com">http://neuromancy.southernfriedscience.com</a></p>
<p>I&#8217;ve locked comments on all the articles here, but everything&#8217;s been transferred over to SFS, comments and all, so you can carry on any discussions over there.</p>
<p>Go forth and comment!</p>
<p>Craig</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=311&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2011/01/14/im-on-the-move/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>
	</item>
		<item>
		<title>Anscombe&#8217;s quartet and the importance of graphing your data</title>
		<link>http://neuromancy.wordpress.com/2010/12/30/anscombes-quartet-and-the-importance-of-grahping-your-data/</link>
		<comments>http://neuromancy.wordpress.com/2010/12/30/anscombes-quartet-and-the-importance-of-grahping-your-data/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 23:52:11 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Research blogging]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=297</guid>
		<description><![CDATA[I&#8217;ve stalled a little bit in my thesis writing &#8211; I&#8217;ve only got reanalysis and in-depth rewriting to be done on this chapter, which I&#8217;m not keen to do at this time of night. So I thought I&#8217;d bash out a quick post before the new year. When dealing with sets of data from familiar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=297&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve stalled a little bit in my thesis writing &#8211; I&#8217;ve only got reanalysis and in-depth rewriting to be done on this chapter, which I&#8217;m not keen to do at this time of night. So I thought I&#8217;d bash out a quick post before the new year.</p>
<p>When dealing with sets of data from familiar experiments, it might be tempting to throw the numbers into your favourite statistics software package, and report the coefficient and p value. But researcher beware! Strange things may be hiding in your data&#8230; <a href="http://en.wikipedia.org/wiki/Anscombe%27s_quartet">Anscombe&#8217;s quartet</a> is a fine example of this. The quartet is four sets of data that have the same sample statistics (mean, variance, correlation coefficient and regression equation), but when graphed, they are clearly very different.</p>
<div class="wp-caption aligncenter" style="width: 435px"><img title="Anscombe's quartet" src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Anscombe%27s_quartet_3.svg/425px-Anscombe%27s_quartet_3.svg.png" alt="The distributions in four very different datasets produce the same statistics" width="425" height="309" /><p class="wp-caption-text">Anscombe&#039;s quartet plotted, from Wikipedia</p></div>
<p>The quartet is only an illustrative example of what is possible; the Wikipedia article has links to other similar data.</p>
<p>But graphing your data doesn&#8217;t just guard against mistakes, it can also allow you to see patterns in your data that you hadn&#8217;t thought to look for. If you use R, there are plenty of snippets of code that make a summary plot of data, with frequency distributions and <a href="http://en.wikipedia.org/wiki/Q-Q_plot">Q-Q plots</a>. So give it a go. Work with your data from the bottom up &#8211; you never know what you might find. </p>
<p>P.S. Happy New Year everyone &#8211; There&#8217;s a surprise coming for Neuromancy next year&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=297&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/12/30/anscombes-quartet-and-the-importance-of-grahping-your-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Anscombe%27s_quartet_3.svg/425px-Anscombe%27s_quartet_3.svg.png" medium="image">
			<media:title type="html">Anscombe&#039;s quartet</media:title>
		</media:content>
	</item>
		<item>
		<title>Is science turning authoritarian?</title>
		<link>http://neuromancy.wordpress.com/2010/12/05/is-science-turning-authoritarian/</link>
		<comments>http://neuromancy.wordpress.com/2010/12/05/is-science-turning-authoritarian/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 00:47:43 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Science!]]></category>
		<category><![CDATA[science communication]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=298</guid>
		<description><![CDATA[Going through the things I&#8217;d bookmarked to write about, I found an article in The American entitled &#8220;Science turns authoritarian&#8221;, in which it is argued that science has let itself become co-opted by politics, has begun to espouse view points rather than describe the world, and that as a result science is losing its credibility.To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=298&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Going through the things I&#8217;d bookmarked to write about, I found an article in <em>The American</em> entitled <a href="http://www.american.com/archive/2010/july/science-turns-authoritarian">&#8220;Science turns authoritarian&#8221;</a>, in which it is argued that science has let itself become co-opted by politics, has begun to espouse view points rather than describe the world, and that as a result science is losing its credibility.To support this view, the following graph of frequency of so-called &#8220;authoritarian&#8221; phrases is presented.</p>
<p style="text-align:center;"><img title="Authoritarian phrases in science media." src="http://www.american.com/graphics/2010/Green%207.26.10.gif" alt="The incidence of phrases such as &quot;science tells us we should...&quot; has increased since 1990." width="300" height="200" /></p>
<p style="text-align:center;">&nbsp;</p>
<p style="text-align:left;">I think two points are worth making about this, one of methodology and one of interpretation. Firstly, the graph is based on the frequency of these phrases in science reporting, rather than from scientists themselves. Whilst scientists could also be expressing similar attitudes, the position that these data support is that science is perceived to be to more authoritarian because those who report on it are perceiving it to be more authoritarian. Also, although the article suggests that if the increase were just a result of an increase in print volume then the frequency of all the words would increase equally. I&#8217;d argue that even if there was an increase in authoritarian tone, some of the phrases are going to be more commonly used than others. I&#8217;d also venture that use of some of the phrases (especially &#8220;science requires&#8221;) aren&#8217;t necessarily authoritarian &#8211; &#8220;a successful career in science requires dedication&#8221;?</p>
<p style="text-align:left;">Secondly, I think that the implication in phrases such as &#8220;science says we must&#8221; is a conditional statement that we must do X <strong>if we want Y</strong>. Where Y is generally something like the continuation of life as we know it. The article even cites some examples e.g. “For example, science tells us we must reduce our global greenhouse gas emissions to prevent dangerous climate change.” You could read that as saying emissions must be reduced if we are to prevent climate change. Even if you read it as making the assumption that we should want to prevent dangerous climate change, it doesn&#8217;t seem like an unreasonable assumption.</p>
<p style="text-align:left;">Which leads on to a third point. I don&#8217;t think scientists are capable of, or should be entirely objective in the sense of robotic detachment from the implications of their work. If reasearch strongly suggests that if we don&#8217;t drastically change the way we are living things will get terminally hard for a lot of people, you&#8217;d have to be inhuman not to feel like it&#8217;s something that we should probably be doing. And it&#8217;s probably something we should be doing more of. I think it&#8217;s particularly telling when the article mentions that people don&#8217;t take kindly to being told what to do &#8220;particularly when they’re <em>unable to evaluate the information</em> that  supposedly requires them to give up their SUV, their celebratory cigar,  or their chicken nuggets&#8221;. In circumstances where the information clearly requires a course of action, but only those immersed in the field have the ability to evaluate the information, it seems almost reckless to not give any context.</p>
<p style="text-align:left;">See <a href="http://initforthegold.blogspot.com/2010/07/authoritarianism-claim.html">The Authoritarianism Claim</a> at <em>Only In It For The Gold</em> for a similar but more concise take on things.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=298&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/12/05/is-science-turning-authoritarian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>

		<media:content url="http://www.american.com/graphics/2010/Green%207.26.10.gif" medium="image">
			<media:title type="html">Authoritarian phrases in science media.</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickie &#8211; Considerations of in vivo electrophysiology</title>
		<link>http://neuromancy.wordpress.com/2010/11/27/considerations-of-in-vivo-electrophysiology/</link>
		<comments>http://neuromancy.wordpress.com/2010/11/27/considerations-of-in-vivo-electrophysiology/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 22:13:12 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Research Papers]]></category>
		<category><![CDATA[neuroscience]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=291</guid>
		<description><![CDATA[I&#8217;m just reading a paper on the response properties of monoamine neurons, and it starts out with a few points of consideration for electrophysiological recording of neurons in vivo. I thought I&#8217;d relay them here. The evidence that you are recording from a given type of neuron (dopaminergic, serotinergic etc.) is almost always indirect. It [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=291&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="float:left;padding:5px;"><a href="http://www.researchblogging.org"><img style="border:0;" src="http://www.researchblogging.org/public/citation_icons/rb2_large_gray.png" alt="ResearchBlogging.org" /></a></span><br />
I&#8217;m just reading a paper on the response properties of monoamine neurons, and it starts out with a few points of consideration for electrophysiological recording of neurons in vivo. I thought I&#8217;d relay them here.</p>
<ol>
<li>The evidence that you are recording from a given type of neuron (dopaminergic, serotinergic etc.) is almost always indirect. It is usually based on electrophysiological characteristics determined by previous in vitro studies, using intracellular recording and neuron staining.</li>
<li>We can describe the general behaviour of a group of neurons which contain/release a particular neuron, as they often appear to behave in a homogenous manner. Jacobs notes &#8220;this may change, of course, as more detailed analyses are carried out.&#8221; The paper was published in 1986, and for my neuron of interest &#8211; dopaminergic neurons &#8211; this has indeed changed.</li>
<li>In order to properly understand the activity of a neuron, it has to be recorded from an unanesthetised animal, as beyond the advantage of being able to study behaviour and neural activity, anaesthesia can profoundly affect neuronal responses.</li>
</ol>
<p>There&#8217;s also a nice little Q&amp;A after the references, which seems quite quaint. It&#8217;s nice to read older papers to give a general overview of a subject before diving into the nuanced modern research, you just have to make sure it&#8217;s not so old as to be totally misguided and out of date.</p>
<p><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.jtitle=Annals+of+the+New+York+Academy+of+Sciences&amp;rft_id=info%3Adoi%2F10.1111%2Fj.1749-6632.1986.tb23604.x&amp;rfr_id=info%3Asid%2Fresearchblogging.org&amp;rft.atitle=Single+Unit+Activity+of+Brain+Monoamine-Containing+Neurons+in+Freely+Moving+Animals&amp;rft.issn=0077-8923&amp;rft.date=1986&amp;rft.volume=473&amp;rft.issue=1+Neurochemical&amp;rft.spage=70&amp;rft.epage=77&amp;rft.artnum=http%3A%2F%2Fdoi.wiley.com%2F10.1111%2Fj.1749-6632.1986.tb23604.x&amp;rft.au=JACOBS%2C+B.&amp;rfe_dat=bpr3.included=1;bpr3.tags=Neuroscience">JACOBS, B. (1986). Single Unit Activity of Brain Monoamine-Containing Neurons in Freely Moving Animals <span style="font-style:italic;">Annals of the New York Academy of Sciences, 473</span> (1 Neurochemical), 70-77 DOI: <a rev="review" href="http://dx.doi.org/10.1111/j.1749-6632.1986.tb23604.x">10.1111/j.1749-6632.1986.tb23604.x</a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=291&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/11/27/considerations-of-in-vivo-electrophysiology/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>

		<media:content url="http://www.researchblogging.org/public/citation_icons/rb2_large_gray.png" medium="image">
			<media:title type="html">ResearchBlogging.org</media:title>
		</media:content>
	</item>
		<item>
		<title>I&#8217;m learning about bees!</title>
		<link>http://neuromancy.wordpress.com/2010/11/09/im-learning-about-bees/</link>
		<comments>http://neuromancy.wordpress.com/2010/11/09/im-learning-about-bees/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 18:44:34 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bees]]></category>

		<guid isPermaLink="false">https://neuromancy.wordpress.com/2010/11/09/im-learning-about-bees/</guid>
		<description><![CDATA[Just on my way home from my second day as educational resource assistant for a project to encourage people to keep bees. My job involves creating educational materials for primary schools to accompany the project and highlight the plight of bees. This means I&#8217;ve spent the last couple of days reading the kind of thing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=289&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just on my way home from my second day as educational resource assistant for a project to encourage people to keep bees. My job involves creating educational materials for primary schools to accompany the project and highlight the plight of bees. This means I&#8217;ve spent the last couple of days reading the kind of thing that already goes out to schools, and reading lots of interesting things about bees.<br />
Unfortunately, most of the stuff that I&#8217;m finding most interesting probably isn&#8217;t as relevant to the ecological importance of honey bees. Like how they don&#8217;t just have regular old dull compound eyes like I thought they did, but that they&#8217;ve also got three simple-lens ocelli, which are only really sensitive to light, and have been suggested to be part of some sort of orientation mechanism. Or that they don&#8217;t have centralised brains, but instead just have bunches of nerves down their body. Or that they can not only detect colour and patterns, but are capable of remembering them reasonably well several days after just one exposure, and almost perfectly after three! Or that their sting evolved from the ovipositor, but in some species it&#8217;s in a weird halfway stage where the sting is more like a sword.<br />
The irreplacable role of bees in the economy, and more importantly the environment is probably easier to pitch as a classroom topic to primary school teachers, but I&#8217;m getting into it, and it seems a shame for it to go to waste.<br />
So expect some bee related science over the coming few months. I&#8217;ll try and keep it neurosciencey&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=289&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/11/09/im-learning-about-bees/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>
	</item>
		<item>
		<title>Scatterplot matrices and MANOVA in R</title>
		<link>http://neuromancy.wordpress.com/2010/11/03/scatterplot-matrices-and-manova-in-r/</link>
		<comments>http://neuromancy.wordpress.com/2010/11/03/scatterplot-matrices-and-manova-in-r/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 23:02:12 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[PhD]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=283</guid>
		<description><![CDATA[I&#8217;ve got a deadline to get one of my thesis chapters drafted by the end of the week. It was the end of last week, but all the unemplyment and job seeking stuff got in the way, and the analysis has been a little bit harder than I expected, so it got pushed back (oops, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=283&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a deadline to get one of my thesis chapters drafted by the end of the week. It was the end of last week, but all the unemplyment and job seeking stuff got in the way, and the analysis has been a little bit harder than I expected, so it got pushed back (oops, guess I should be used to that by now).</p>
<p>Anyway, I&#8217;ve been doing some of the analysis in R, and I thought I&#8217;d stick it up here to get some tips/feedback. Please bear with me on the state of the figures, they&#8217;re a bit sketchy at the moment.</p>
<p>Click &#8216;More&#8217; for tedious technicalities!</p>
<p><span id="more-283"></span></p>
<p>The data are for 16 dopamine neurons and their responses to a light flash and trigeminal nuclear complex stimulation (mostly Sp5I). The variables are mean firing rate (Hz), average total spike width (ms), average spike width from spike onset to first trough (ms), response onset latency (s), response peak latency (s), response duration (s) and direction of the first component of the response (inhibited, unresponsive, excited).</p>
<p>Light flash data</p>
<table border="0" cellspacing="0" cellpadding="0" width="541">
<col span="7" width="64"></col>
<col width="93"></col>
<tbody>
<tr>
<td width="64" height="20"></td>
<td width="64">dafr</td>
<td width="64">daapwidthtot</td>
<td width="64">daapwidthtrough</td>
<td width="64">daonsetlat</td>
<td width="64">dapeaklat</td>
<td width="64">dadur</td>
<td width="93">group2</td>
</tr>
<tr>
<td height="20" align="right">1</td>
<td align="right">7.66</td>
<td align="right">5.8</td>
<td align="right">1.3</td>
<td>NA</td>
<td>NA</td>
<td>NA</td>
<td>Unresponsive</td>
</tr>
<tr>
<td height="20" align="right">2</td>
<td align="right">5.17</td>
<td align="right">5.3</td>
<td align="right">1.6</td>
<td>NA</td>
<td>NA</td>
<td>NA</td>
<td>Unresponsive</td>
</tr>
<tr>
<td height="20" align="right">3</td>
<td align="right">2.14</td>
<td align="right">5.3</td>
<td align="right">1.7</td>
<td>NA</td>
<td>NA</td>
<td>NA</td>
<td>Unresponsive</td>
</tr>
<tr>
<td height="20" align="right">4</td>
<td align="right">2.94</td>
<td align="right">6.6</td>
<td align="right">1.5</td>
<td>NA</td>
<td>NA</td>
<td>NA</td>
<td>Unresponsive</td>
</tr>
<tr>
<td height="20" align="right">5</td>
<td align="right">2.49</td>
<td align="right">4.5</td>
<td align="right">1.2</td>
<td>NA</td>
<td>NA</td>
<td>NA</td>
<td>Unresponsive</td>
</tr>
<tr>
<td height="20" align="right">6</td>
<td align="right">2.44</td>
<td align="right">5.9</td>
<td align="right">1.9</td>
<td align="right">0.1</td>
<td align="right">0.12</td>
<td align="right">0.16</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">7</td>
<td align="right">5.45</td>
<td align="right">5.7</td>
<td align="right">1.6</td>
<td align="right">0.14</td>
<td align="right">0.16</td>
<td align="right">0.1</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">8</td>
<td align="right">1.81</td>
<td align="right">5.1</td>
<td align="right">1.5</td>
<td align="right">0.04</td>
<td align="right">1</td>
<td align="right">0.2</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">9</td>
<td align="right">1.11</td>
<td align="right">5.2</td>
<td align="right">1.6</td>
<td align="right">0.02</td>
<td align="right">0.06</td>
<td align="right">0.3</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">10</td>
<td align="right">4.25</td>
<td align="right">4.7</td>
<td align="right">1.5</td>
<td align="right">0.08</td>
<td align="right">0.1</td>
<td align="right">0.1</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">11</td>
<td align="right">4.49</td>
<td align="right">5.6</td>
<td align="right">1.9</td>
<td align="right">0.12</td>
<td align="right">0.12</td>
<td align="right">0.6</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">12</td>
<td align="right">3.45</td>
<td align="right">4.6</td>
<td align="right">1.5</td>
<td align="right">0.08</td>
<td align="right">0.18</td>
<td align="right">0.12</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">13</td>
<td align="right">3.25</td>
<td align="right">4.7</td>
<td align="right">1.5</td>
<td align="right">0.02</td>
<td align="right">0.06</td>
<td align="right">0.8</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">14</td>
<td align="right">4.21</td>
<td align="right">5.3</td>
<td align="right">1.6</td>
<td align="right">0.16</td>
<td align="right">0.42</td>
<td align="right">0.36</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">15</td>
<td align="right">3.98</td>
<td align="right">4.5</td>
<td align="right">1.2</td>
<td align="right">0.06</td>
<td align="right">0.1</td>
<td align="right">0.06</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">16</td>
<td align="right">0.45</td>
<td align="right">5.3</td>
<td align="right">1.5</td>
<td align="right">0.08</td>
<td align="right">0.14</td>
<td align="right">0.32</td>
<td>Excited</td>
</tr>
</tbody>
</table>
<p>TNC stim data</p>
<table border="0" cellspacing="0" cellpadding="0" width="512">
<col span="8" width="64"></col>
<tbody>
<tr>
<td width="64" height="20"></td>
<td width="64">dafr</td>
<td width="64">daapwidthtot</td>
<td width="64">daapwidthtrough</td>
<td width="64">daonsetlat</td>
<td width="64">dapeaklat</td>
<td width="64">dadur</td>
<td width="64">group</td>
</tr>
<tr>
<td height="20" align="right">1</td>
<td align="right">5.17</td>
<td align="right">5.3</td>
<td align="right">1.6</td>
<td align="right">0.02</td>
<td align="right">0.04</td>
<td align="right">0.08</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">2</td>
<td align="right">1.11</td>
<td align="right">5.2</td>
<td align="right">1.6</td>
<td align="right">0.06</td>
<td align="right">0.04</td>
<td align="right">0.08</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">3</td>
<td align="right">2.94</td>
<td align="right">6.6</td>
<td align="right">1.5</td>
<td align="right">0</td>
<td align="right">0.04</td>
<td align="right">0.18</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">4</td>
<td align="right">4.49</td>
<td align="right">5.6</td>
<td align="right">1.9</td>
<td align="right">0</td>
<td align="right">0.06</td>
<td align="right">0.24</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">5</td>
<td align="right">3.45</td>
<td align="right">4.6</td>
<td align="right">1.5</td>
<td align="right">0.04</td>
<td align="right">0.04</td>
<td align="right">0.1</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">6</td>
<td align="right">2.49</td>
<td align="right">4.5</td>
<td align="right">1.2</td>
<td align="right">0.02</td>
<td align="right">0.02</td>
<td align="right">0.06</td>
<td>Inhibited</td>
</tr>
<tr>
<td height="20" align="right">7</td>
<td align="right">7.66</td>
<td align="right">5.8</td>
<td align="right">1.3</td>
<td align="right">0</td>
<td align="right">0.02</td>
<td align="right">0.04</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">8</td>
<td align="right">2.44</td>
<td align="right">5.9</td>
<td align="right">1.9</td>
<td align="right">0.02</td>
<td align="right">0.08</td>
<td align="right">0.18</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">9</td>
<td align="right">5.45</td>
<td align="right">5.7</td>
<td align="right">1.6</td>
<td align="right">0.06</td>
<td align="right">0.08</td>
<td align="right">0.08</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">10</td>
<td align="right">1.81</td>
<td align="right">5.1</td>
<td align="right">1.5</td>
<td align="right">0</td>
<td align="right">0.06</td>
<td align="right">0.02</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">11</td>
<td align="right">4.21</td>
<td align="right">5.3</td>
<td align="right">1.6</td>
<td align="right">0.06</td>
<td align="right">0.14</td>
<td align="right">0.38</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">12</td>
<td align="right">3.98</td>
<td align="right">4.5</td>
<td align="right">1.2</td>
<td align="right">0.02</td>
<td align="right">0.02</td>
<td align="right">0.04</td>
<td>Excited</td>
</tr>
<tr>
<td height="20" align="right">13</td>
<td align="right">0.45</td>
<td align="right">5.3</td>
<td align="right">1.5</td>
<td align="right">0.08</td>
<td align="right">0.14</td>
<td align="right">0.32</td>
<td>Excited</td>
</tr>
</tbody>
</table>
<p>I&#8217;ve managed to do a rough vis of the TNC stim data fine, with the scatterplotMatrix() (alternatively spm() for short) function from the <a href="http://cran.r-project.org/web/packages/car/index.html">car</a> R package.</p>
<pre>spm(trig[1:6], diagonal="qqplot", smooth=FALSE, by.groups=TRUE, group=trig$group, main="Trigeminal response/cell properties")</pre>
<p>Producing a nice matrix, with linear regression lines for each group, and Q-Q plots on the diagonal, thus:</p>
<p><a href="http://neuromancy.files.wordpress.com/2010/11/trigemscattermatrix.jpeg"><img class="aligncenter size-medium wp-image-284" title="trigemscattermatrix" src="http://neuromancy.files.wordpress.com/2010/11/trigemscattermatrix.jpeg?w=300&#038;h=300" alt="Scatterplot matrix of trigeminal cell and response properties" width="300" height="300" /></a>The problem comes when I try to plot the light flash data. Because the unresponsive cells (rows 1:5) don&#8217;t have values for response onset latency, peak latency or duration, I can only manage to make a plot of the dopamine cell properties for all 16 rows, and another plot for the cell properties and response properties for just the 11 responsive rows. Which I guess would be ok, but I&#8217;d like to plot all the rows and all the columns in just one figure, and have it plot all 16 points on the cell property panels, and just plot the 11 relevant points on the other panels. I&#8217;m not sure if that&#8217;s possible with the function I&#8217;m using though. It&#8217;d be nice to have the r^2 for the regression lines as well, but again, I&#8217;m not sure how.</p>
<p>The next step is learning how to do a MANOVA in R, but I spent all last night reading up on all the assumptions for all the different tests and now I&#8217;m not even sure whether the tests are appropriate&#8230;</p>
<p>Any help will be more than welcome!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=283&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/11/03/scatterplot-matrices-and-manova-in-r/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>

		<media:content url="http://neuromancy.files.wordpress.com/2010/11/trigemscattermatrix.jpeg?w=300" medium="image">
			<media:title type="html">trigemscattermatrix</media:title>
		</media:content>
	</item>
		<item>
		<title>A brave new world</title>
		<link>http://neuromancy.wordpress.com/2010/10/29/a-brave-new-world/</link>
		<comments>http://neuromancy.wordpress.com/2010/10/29/a-brave-new-world/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 22:00:43 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Blog stuff]]></category>

		<guid isPermaLink="false">https://neuromancy.wordpress.com/2010/10/29/a-brave-new-world/</guid>
		<description><![CDATA[I can now blog from my phone! Hopefully this will mean more posts as I have the odd thought, probably of the short and badly spelled variety.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=282&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I can now blog from my phone! Hopefully this will mean more posts as I have the odd thought, probably of the short and badly spelled variety.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=282&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/10/29/a-brave-new-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>
	</item>
		<item>
		<title>The staRt of a jouRney</title>
		<link>http://neuromancy.wordpress.com/2010/10/28/the-start-of-a-journey/</link>
		<comments>http://neuromancy.wordpress.com/2010/10/28/the-start-of-a-journey/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 13:42:41 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[PhD]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=273</guid>
		<description><![CDATA[I thought I&#8217;d already done a proper introduction of my move into using the R language to analyse the data for my thesis, but I can&#8217;t find anything now&#8230; I&#8217;d previously been using GraphPad Prism, which was easy to use and everything was customisable at a click, but this meant it was a bit slow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=273&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I thought I&#8217;d already done a proper introduction of my move into using the <a href="http://www.r-project.org/">R language</a> to analyse the data for my thesis, but I can&#8217;t find anything now&#8230; I&#8217;d previously been using GraphPad Prism, which was easy to use and everything was customisable at a click, but this meant it was a bit slow and bloated. MSExcel hasn&#8217;t even entered into the equation after the effort needed to display standard error bars, and also that some of the inference test calculations aren&#8217;t even right. Instead, I decided to try to teach myself R.</p>
<p>So here&#8217;s the start of my journey into R analysis, a &#8220;jouRney&#8221; if you will. R is an open source language developed from the commercial language S, which in turn derives from C. Straight out of the box it can do some reasonably advanced data extraction, analysis and <a href="http://addictedtor.free.fr/graphiques/">visualisation</a>. It&#8217;s real strength, however, comes from its openness. Being open source means that thousands of stat geeks around the world have developed add-on &#8220;<a href="http://cran.r-project.org/web/packages/">packages</a>&#8221; that develop R&#8217;s abilities into all sorts of areas of research.</p>
<p>So far, I&#8217;m just beginning to learn how to read data in, manipulate it and visualise it, but here&#8217;s the result of my first attempt to produce a heat map/contour plot of the firing rate of a dopamine neuron in response to a stimulus, across trials:</p>
<pre>#reads in raw data from text file produced by heatplot.s2s
contourplot &lt;- read.table("c:\\documents and settings\\craig\\my documents\\my dropbox\\R stuff\\rawoutput.txt", header=TRUE, sep="\t")
#trims off empty columns
contourplot &lt;- contourplot[,1:40]
#sets table to contain only the data columns
contourplot &lt;- contourplot[,c(2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40)]
#transposes the data
contourplot &lt;- t(contourplot)
#makes table into data matrix
contourplot_matrix &lt;-data.matrix(contourplot)
#Plots heatmap of matrix "contourplot_matrix"
filled.contour(x=seq(1, 300, length=20), y=seq(-0.5, 1.5, length=20), z=contourplot_matrix[1:20,1:20], nlevels=20, axes=TRUE, color.palette=topo.colors)</pre>
<p>Which produces this:</p>
<div id="attachment_276" class="wp-caption aligncenter" style="width: 310px"><a href="http://neuromancy.files.wordpress.com/2010/10/second-heatplot-contour-plot.png"><img class="size-medium wp-image-276" title="Contour plot" src="http://neuromancy.files.wordpress.com/2010/10/second-heatplot-contour-plot.png?w=300&#038;h=117" alt="Comparison of heatplot in R and the raw data." width="300" height="117" /></a><p class="wp-caption-text">A comparison of contour plot in R (right) and the raw data from Spike2 - Conotur plot rotated 90 degrees anticlockwise</p></div>
<p>Which is essentially a grid of the mean firing rate in 100 ms by 15 trial bins. Hopefully, I should be able to use these data in a principal component analysis, and see if there are separate components which change over time at different rates.</p>
<p>Eventually, I&#8217;m aiming to do all of my statistics in R, so we&#8217;ll see how it goes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=273&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/10/28/the-start-of-a-journey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>

		<media:content url="http://neuromancy.files.wordpress.com/2010/10/second-heatplot-contour-plot.png?w=300" medium="image">
			<media:title type="html">Contour plot</media:title>
		</media:content>
	</item>
		<item>
		<title>Sunday Links #8</title>
		<link>http://neuromancy.wordpress.com/2010/10/24/sunday-links-8/</link>
		<comments>http://neuromancy.wordpress.com/2010/10/24/sunday-links-8/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 11:00:22 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Blog stuff]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=268</guid>
		<description><![CDATA[A collection of links for your consideration: Cat cognition! Anne Corwin at Existence is Wonderful tests the mental abilities of her cats, with full experimental method and videos! I&#8217;ve had a drafted post on what optical illusions teach us about how our vision works knocking around for some time now, but in the meantime I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=268&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A collection of links for your consideration:</p>
<p>Cat cognition! Anne Corwin at <em>Existence is Wonderful</em> <a href="http://www.existenceiswonderful.com/2010/07/small-informal-cat-causality-cognition.html">tests the mental abilities of her cats</a>, with full experimental method and videos!</p>
<p>I&#8217;ve had a drafted post on what optical illusions teach us about how our vision works knocking around for some time now, but in the meantime I encourage UK readers to go watch the recent <a href="http://www.bbc.co.uk/iplayer/episode/b00vhw1d/Horizon_20102011_Is_Seeing_Believing/">episode of Horizon</a> on what we think we see isn&#8217;t necessarily what is there, and how our traditional senses could be augmented and expanded (<a href="http://mindhacks.com/2010/10/22/sensory-blending/">summary on MindHacks</a>). It&#8217;s on BBC iPlayer, so it will disappear soon, but it&#8217;s probably available on your local popular video hosting website.</p>
<p>A little bit of inspirational blogging: <em>Not Exactly Rocket Science</em> <a href="http://blogs.discovermagazine.com/notrocketscience/2010/07/29/on-the-origin-of-science-writers/">shares the influences and experiences</a> of 130 (and counting) science writers, including <a href="http://blogs.discovermagazine.com/notrocketscience/2010/07/29/on-the-origin-of-science-writers/#comment-12318">Ivan Oransky</a> of <a href="http://embargowatch.wordpress.com/">EmbargoWatch</a>, neuro-writers <a href="http://blogs.discovermagazine.com/notrocketscience/2010/07/29/on-the-origin-of-science-writers/#comment-12309">Carl Zimmer</a>, <a href="http://blogs.discovermagazine.com/notrocketscience/2010/07/29/on-the-origin-of-science-writers/#comment-12312">Jonah Lehrer</a>, physicists, archeologists, climatologists, biologists from molecular to behavioural, and everything in between.</p>
<p>Speaking of Carl Zimmer, he <a href="http://blogs.discovermagazine.com/loom/2010/10/14/my-new-book-ebook-that-is-brain-cuttings/">has a new e-book out</a> &#8211; <em>Brain Cuttings</em>: <em>Fifteen Journeys Through the Mind.</em> Vaughan Bell <a href="http://mindhacks.com/2010/10/17/fifteen-brain-encounters/">provides a review</a> at Mind Hacks.</p>
<p>Speaking of e-books and Mind Hacks (these links don&#8217;t write themselves you know) Tom Stafford has a new e-book &#8211; <a href="http://mindhacks.com/2010/10/21/the-narrative-escape/"><em>The Narrative Escape</em></a>, which is, in the author&#8217;s words &#8220;a long essay about morality, psychology and stories.&#8221; Also in Italian, and coming soon in Portuguese!</p>
<p>I promise this isn&#8217;t the start of a foray into political blogging. FiveThirtyEight.com <a href="http://fivethirtyeight.blogs.nytimes.com/2010/10/20/the-misunderstanding-of-momentum/#more-2351">debunks the concept of poll momentum</a>.</p>
<p>Although previous research has suggested that caffeine consumption doesn&#8217;t improve alertness in habitual users, two recent studies found evidence that a cup of joe<a href="http://www.ncbi.nlm.nih.gov/pubmed/20832925"> improves vigilance and control of visual attention</a> in regular drinkers, and that it <a href="http://www.ncbi.nlm.nih.gov/pubmed/20816912">enhances working memory in extroverts</a>. Abstracts are available, but articles are behind a paywall.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=268&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/10/24/sunday-links-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>
	</item>
		<item>
		<title>Breaking my promise</title>
		<link>http://neuromancy.wordpress.com/2010/10/23/breaking-my-promise/</link>
		<comments>http://neuromancy.wordpress.com/2010/10/23/breaking-my-promise/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 15:53:27 +0000</pubDate>
		<dc:creator>Neuromancy</dc:creator>
				<category><![CDATA[Blog stuff]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://neuromancy.wordpress.com/?p=263</guid>
		<description><![CDATA[OK, so I&#8217;m probably not going to keep up with my promise. It&#8217;s a busy old time at the moment, lots going on. Trying to fit real life stuff around finishing off my thesis (which requires more finishing that I would have liked) and trying to find a job! It&#8217;s probably a little unreasonable of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=263&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, so I&#8217;m probably not going to keep up with my promise. It&#8217;s a busy old time at the moment, lots going on. Trying to fit real life stuff around finishing off my thesis (which requires more finishing that I would have liked) and trying to find a job! It&#8217;s probably a little unreasonable of me to expect a department who has no knowledge of me to take me on as a research assistant/associate when I haven&#8217;t submitted my thesis, and even more of a stretch when I&#8217;m applying for places which would prefer a slightly different skill set (making cultures of neurons then doing in vitro electrophys), but I&#8217;m enthusiastic, more than willing to learn, and above all optomistic. I&#8217;ve applied for a few lab technician jobs too, which, if I get them, would provide some valuable experience in a slightly broader range of techniques. Plus, they pay the bills.</p>
<p>For some reason, I seem to be on my way to being a statistics geek. Maybe I&#8217;m just not happy with being a regular science geek&#8230; I&#8217;m trying to learn the <a href="http://cran.r-project.org/">R language</a> to do some of my thesis analysis, and I&#8217;ve applied for some data entry/analyst jobs. I&#8217;m also on the Civil Service Fast Stream scheme for Assistant Statistican! Erk, it&#8217;s all a little bit scary. I&#8217;m down in London on the 11th of November for an assessment day, don&#8217;t really know what to expect.</p>
<p>So that&#8217;s it. Now that I&#8217;ve said I won&#8217;t be around, I&#8217;ll probably end up being around more than when I said I was going to try and make the effort to blog more&#8230;</p>
<p>Bye for now!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neuromancy.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neuromancy.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neuromancy.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neuromancy.wordpress.com&amp;blog=13816701&amp;post=263&amp;subd=neuromancy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neuromancy.wordpress.com/2010/10/23/breaking-my-promise/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cee4c7799b8508e9bc720374f028d46?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">neuromancy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
