pred_simple: Create predictions for eigenvalues when there is no missing...

Description Usage Arguments Value

View source: R/mappingfunctions.R

Description

Make a genome-wide prediction based on complete data, which makes the computation faster

Usage

1
pred_simple(ndat, res, L, mode)

Arguments

ndat

normalised data matrix

res

snp weighting matrix

L

the number of SNPs

mode

either "flashpca" or "plink"

Value

A matrix of size N by K


danjlawson/pcapred documentation built on Oct. 7, 2021, 3:47 p.m.