From: Don Armstrong Date: Thu, 23 Oct 2014 15:28:57 +0000 (-0700) Subject: fix position strings typo X-Git-Url: https://git.donarmstrong.com/?p=plotprotein.git;a=commitdiff_plain;h=76ec63ec531b033008000c70e57a25a4c5bcb864;hp=38bdcdf4640d162ed9a4b0fae49a75be260a2610 fix position strings typo --- diff --git a/R/plot.clustal.R b/R/plot.clustal.R index 83c9b94..f975873 100644 --- a/R/plot.clustal.R +++ b/R/plot.clustal.R @@ -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 }