GenomeScan_initialize {wISAM} | R Documentation |
initialize
Description
Initialize a GenomeScan
Arguments
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 |
Value
an object of class GenomeScan
Examples
library(wISAM)
wgs <- GenomeScan$new(y = phenotype,
X = covariate_mat,
G = locus_list,
K = kinship_mat,
w = 1/se_mean_per_strain)
[Package wISAM version 0.2.8 Index]