vcs2mcmc: Load GS3 results

Description Usage Arguments Value Author(s) See Also Examples

Description

Read the file containing the variance components' samples into a mcmc.list object.

Usage

1
vcs2mcmc(config, afs = NULL)

Arguments

config

list containing the configuration for GS3

afs

vector of allele frequencies (of all the SNPs which genotypes were provided, and only them); used to compute the variance of additive (and dominance) genotypic values from the variance of additive (and dominance) SNP effects (see Vitezica et al, 2013), and to compute narrow-sense heritability

Value

mcmc.list

Author(s)

Timothee Flutre

See Also

execGs3

Examples

1
2
3
4
5
6
7
8
## Not run: vcs <- vcs2mcmc(config$vcs.file)
summary(vcs)
coda::effectiveSize(vcs)
genos <- as.matrix(read.table(genos.file))
afs <- colMeans(genos) / 2
vcs <- vcs2mcmc(config$vcs.file, afs)
summary(vcs)
## End(Not run)

INRA/rgs3 documentation built on May 20, 2019, 5:24 p.m.