Skip to content

Commit

Permalink
Removed restriction of setting 'ordergrp=T' when sorting by cluster o…
Browse files Browse the repository at this point in the history
…r 'all'.
  • Loading branch information
royfrancis committed May 23, 2018
1 parent c9e9189 commit 2ee308d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pophelper 2.2.7
===========
* 23-May-2018
* With joined plots, group labels and sorting, div lines were incorrectly printed causing plots to be misaligned. This has been resolved.
* Removed restriction of setting 'ordergrp=T' when sorting by cluster or 'all'.

pophelper 2.2.6
===========
Expand Down
2 changes: 0 additions & 2 deletions R/pophelper.R
Original file line number Diff line number Diff line change
Expand Up @@ -2976,8 +2976,6 @@ plotQ <- function(qlist=NULL,imgoutput="sep",clustercol=NA,sortind=NA,grplab=NA,
{
# checks
if(flen < 2) stop("plotQ: Joined plot cannot be created. Number of selected files less than 2.")
if(grplabcheck && grplablen>1 && sortindcheck!="empty" && !ordergrp) stop("plotQ: With Joined plot, when using grplab with multiple label groups and sorting by cluster or 'all', set 'ordergrp=TRUE'.")

tempdf <- tabulateQ(qlist,sorttable=FALSE)

# checks if num of individuals differ between runs
Expand Down

0 comments on commit 2ee308d

Please sign in to comment.