SNPlong.dat {SimHap} | R Documentation |
SNPlong.dat
is an example genotypic data set containing single nucleotide polymorphism (SNP) genotypes for use with snp.long
and haplo.long
data(SNPlong.dat)
A data frame with 99 observations on the following 4 variables.
ID
SNP_1
SNP_2
SNP_3
Simulated SNP data for use with longPheno.dat
data(SNPlong.dat) # transforms SNPlong.dat to an object containing 3 columns # per SNP - additive, dominant and recessive, where genotypes # defined in 'baseline' serve as the baseline genotypes longGeno.dat <- SNP2Geno(SNPlong.dat, baseline=c("AA", "GG", "V2V2")) data(longPheno.dat) mymodel <- snp.long(fixed=fev1f~SNP_1_add, random=~1|id, geno=longGeno.dat, pheno=longPheno.dat, form=~year|id) summary(mymodel)