Ejemplo n.º 1
0
 internal static IWittyerGenotypedSample Create([NotNull] WittyerSampleInternal sample, [NotNull] IGenotypeInfo gt)
 => new WittyerGenotypedSample(sample, gt);
Ejemplo n.º 2
0
 private WittyerGenotypedSample(WittyerSampleInternal baseSample, IGenotypeInfo gt)
 {
     BaseSample = baseSample;
     Gt         = gt;
 }
Ejemplo n.º 3
0
 private WittyerGenotypedCopyNumberSample(WittyerCopyNumberSample sample, IGenotypeInfo gt)
 {
     BaseSample = sample;
     Gt         = gt;
 }
Ejemplo n.º 4
0
 internal static WittyerGenotypedCopyNumberSample Create([NotNull] WittyerCopyNumberSample sample,
                                                         [NotNull] IGenotypeInfo gt)
 => new WittyerGenotypedCopyNumberSample(sample, gt);
Ejemplo n.º 5
0
 /// <inheritdoc />
 public bool Equals([NotNull] IGenotypeInfo other)
 => IsPhased.Equals(other.IsPhased) &&
 (IsPhased
            ? GenotypeIndices.SequenceEqual(other.GenotypeIndices)
            : GenotypeIndices.IsScrambledEquals(other.GenotypeIndices));