chi2Cases []bool
chi2PValue float64
pvalueMinFrequency float64
+ maxFrequency float64
pcaComponents int
minCoverage int
includeVariant1 bool
if err == errSkip {
return nil
} else if err != nil {
- return fmt.Errorf("%04d: DecodeLibrary(%s): err", infileIdx, infile)
+ return fmt.Errorf("%04d: DecodeLibrary(%s): %w", infileIdx, infile, err)
}
tagstart := cgs[cmd.cgnames[0]].StartTag
tagend := cgs[cmd.cgnames[0]].EndTag
for i := range cmd.samples {
cmd.samples[i].pcaComponents = make([]float64, outcols)
for c := 0; c < outcols; c++ {
- cmd.samples[i].pcaComponents[i] = pca.At(i, c)
+ cmd.samples[i].pcaComponents[c] = pca.At(i, c)
}
}
log.Print("done")