summaryStats: Summary statistics needed for flashfm input

Description Usage Arguments Value Author(s)

View source: R/prep.R

Description

Summary statistics needed for flashfm input

Usage

1
summaryStats(Xmat = TRUE, ybar.all, main.input)

Arguments

Xmat

logical, TRUE if main.input is based on genotype matrix (reference or from sample); FALSE if main.input based on covariance matrix

ybar.all

vector of trait means

main.input

output from flashfm.input

Value

list of 4 components: Mx = mean of SNPs, xcovo = covariance matrix of SNPs including column and row of 0s for intercept term, Sxy = matrix of Sxy values (column traits), ybar=vector of trait means

Author(s)

Jenn Asimit


jennasimit/flashfm documentation built on Aug. 9, 2021, 7:36 a.m.