Learn R Programming

jackstraw (version 1.3.1)

lfa.corpcor: Logistic Factor Analysis without C++ Dependency

Description

Estimate populatoin structure in genome-wide genotype matrices.

Usage

lfa.corpcor(x, d, ltrace = FALSE)

Arguments

x

a matrix with m loci (rows) and n observations (columns).

d

a number of logistic factors.

ltrace

a logical indicator as to whether to print the progress.

Value

lfa.corpcor returns a n*d matrix of d logistic factors. The last column is always an intercept term.

Details

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.

See Also

jackstraw_lfa