JAL-547 only generate matrix for current selection if available. better comments.
authorJim Procter <jprocter@issues.jalview.org>
Fri, 20 Oct 2017 14:25:49 +0000 (15:25 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 20 Oct 2017 14:25:49 +0000 (15:25 +0100)
examples/groovy/PIDmatrix.groovy

index 4e2ad8d..3ff4b39 100644 (file)
 import jalview.analysis.scoremodels.ScoreModels
 import jalview.analysis.scoremodels.SimilarityParams
 
-// call the method below
-printSimilarityMatrix(false,true,SimilarityParams.Jalview)
+// generate matrix for current selection using standard Jalview PID
+
+printSimilarityMatrix(true,true,SimilarityParams.Jalview)
 
 /** 
- * prints a sequence similarity matrix in PHYLIP format. 
+ * this function prints a sequence similarity matrix in PHYLIP format. 
  * printSimilarityMatrix(selected-only, include-ids, pidMethod)
  * 
  * Allowed values for pidMethod: