Closed PeteHaitch closed 6 years ago
Relatedly, createCorMatrix()
and extractAB()
are both exported and is have an \alias{}
in compartments.Rd. However, neither is actually described in the documentation and presumably the user should always be calling compartments()
rather than these lower-level functions. So should these be made internal functions or has the ship sailed on that front?
Closing stale pull request. Will revisit this issue.
Support is not-fully optimised but should be reasonable since only a small-ish subset of loci are used.
In
createCorMatrix()
, the subsettedM
matrix, with dimensions = nloci * nsamples, is realized in-memory. This is relatively small since it is restricted to a single chromosome, typically only includes Open Sea probes, and has SNPs removed.A complete implementation will require
cor()
,.returnBinnedMatrix()
,.getFirstPC()
,.fsvd()
,.meanSmoother()
, and.unitarize()
to support DelayedArray instances.