]> git.donarmstrong.com Git - plotprotein.git/commitdiff
fix position strings typo
authorDon Armstrong <don@donarmstrong.com>
Thu, 23 Oct 2014 15:28:57 +0000 (08:28 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 23 Oct 2014 15:28:57 +0000 (08:28 -0700)
R/plot.clustal.R

index 83c9b94bb5982c5cc6407aee0fbee09e25d01e06..f97587386356603cce9886f52515b9ffb43c3f83 100644 (file)
@@ -169,7 +169,7 @@ plot.clustal <- function(clustal,tree=NULL,refseq=1,refseq.start=1) {
     ## plot the position strings
     position.strings <- seq(refseq.start,by=1,length.out=ncol(clustal))
     if(length(position.strings) < 10) {
-        wanted.position.strings <- postiion.strings %% 2 == 0
+        wanted.position.strings <- position.strings %% 2 == 0
     } else {
         wanted.position.strings <- position.strings %% 5 == 0
     }