From: Don Armstrong Date: Mon, 8 Oct 2012 18:42:06 +0000 (-0700) Subject: fix ethnic region code segment X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=commitdiff_plain;h=d4b41cae1c8f0bcabc802d15a5e8c04e93b4c494 fix ethnic region code segment --- diff --git a/posts/plotting_ethnic_regions.mdwn b/posts/plotting_ethnic_regions.mdwn index 334eb07..80e22c3 100644 --- a/posts/plotting_ethnic_regions.mdwn +++ b/posts/plotting_ethnic_regions.mdwn @@ -4,7 +4,7 @@ I was asked over the weekend how to plot SNPs which are associated with specific ethnicities; the following code is a really quick stab at the problem using the grid graphics engine in R. -[[!sweavealike fig=1 echo=1 results="hide" code """ +[[!sweavealike fig=1 echo=1 results="hide" code=""" require(grid) snp.position <- 1:10 snp.integers <- sample.int(5,size=length(snp.position),replace=TRUE)