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

Description Usage Arguments Details Value See Also

View source: R/lfacorpcor.R

Description

Estimate populatoin structure in genome-wide genotype matrices.

Usage

1
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.

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.

Value

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

See Also

jackstraw_lfa


jackstraw documentation built on June 11, 2021, 5:10 p.m.