Description Arguments Value Examples
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
1 2 3 4 5 6 7 | library(wISAM)
wgs <- GenomeScan$new(y = phenotype,
X = covariate_mat,
G = locus_list,
K = kinship_mat,
w = 1/se_mean_per_strain)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.