GenomeScan_initialize {wISAM} | R Documentation |
Initialize a GenomeScan
y |
vector of length n - the phenotype of each of n genomes (individuals or strains) |
X |
matrix of dimension n-by-c - the covariate value of each individual for c covariates |
G |
a list where each element is of length n - the genotype of each individual at p loci |
K |
matrix of dimension n-by-n - the covariance of the phenotype |
w |
matrix of dimension n-by-n - the inverse variance of the phenotype |
an object of class GenomeScan
library(wISAM)
wgs <- GenomeScan$new(y = phenotype,
X = covariate_mat,
G = locus_list,
K = kinship_mat,
w = 1/se_mean_per_strain)