merge
ArrayDesign merge(ArrayDesign arrayDesign,
Collection<ArrayDesign> otherArrayDesigns,
String nameOfNewDesign,
String shortNameOfNewDesign,
boolean add)
Merge array designs based on their sequence content.
Array designs that are already merged cannot be merged, but new array designs can be added into an existing
merged design. Also array designs can only be merged once: a given array design cannot be merged twice.
- Parameters:
arrayDesign
- , used as a "top level" design when 'add' is true; otherwise just treated as one of the designs
to be merged into a new design.
otherArrayDesigns
- array designs to merge with the arrayDesign
nameOfNewDesign
- can be null if "add" is true (ignored)
shortNameOfNewDesign
- can be null if "add" is true (ignored)
add
- if "arrayDesign" is already merged, add the "otherArrayDesign"s to it. Otherwise force the creation of
a new design.
- Returns:
- the merged design. If add=true, then this will be "arrayDesign". Otherwise it will be a new array design.