/*
* to make a new instance for each alignment view
*/
- getInstance: { AlignViewportI view, AnnotatedCollectionI coll, Map<SequenceI, SequenceCollectionI> map -> conserved() },
+ getInstance: { AlignViewportI view, AnnotatedCollectionI coll -> conserved() },
/*
* method only needed if colour scheme has to recalculate
/*
* to make a new instance for each alignment view
*/
- getInstance: { AlignViewportI view, AnnotatedCollectionI coll, Map<SequenceI, SequenceCollectionI> map -> candy() },
+ getInstance: { view, coll -> candy() },
/*
* method only needed if colour scheme has to recalculate
// this colour scheme is peptide-specific:
isApplicableTo: { coll -> !coll.isNucleotide() },
alignmentChanged: { coll, map -> },
- getInstance: { coll, map -> byWeight() },
+ getInstance: { view, coll -> byWeight() },
isSimple: { true },
findColour: {res, col, seq, consensus, pid ->
switch (res) {
/*
* to make a new instance for each alignment view
*/
- getInstance: { AnnotatedCollectionI coll, Map<SequenceI, SequenceCollectionI> map -> unconserved() },
+ getInstance: { view, coll -> unconserved() },
/*
* method only needed if colour scheme has to recalculate