public StrictMotif(Nucleotide[] data) { Length = data.Length; _data = new Nucleotide[4][]; _data[0] = data; _data[1] = data.Reverse().ToArray(); _data[2] = data.Select(p => p.Inverse()).ToArray(); _data[3] = _data[2].Reverse().ToArray(); }
public double[] CalcMaxScore(Nucleotide[][] data, CalcMode? mode = null) { return data.Select(p => CalcMaxScore(p, mode)).ToArray(); }