Estimate populatoin structure in genome-wide genotype matrices.
lfa.corpcor(x, d, ltrace = FALSE)
a matrix with m
loci (rows) and n
observations (columns).
a number of logistic factors.
a logical indicator as to whether to print the progress.
lfa.corpcor
returns a n*d
matrix of d
logistic factors.
The last column is always an intercept term.
It performs the logistic factor analysis, similar to lfa
function in the lfa package.
This function works without C++ dependencies.
However, it would be much slower, does not include any other LFA-related functions, checks, and warnings.
This function remains here for backward compatability - please use the lfa
package.