powered by
This function prepares the CRITICAL element corresponding to matrix of genotypes necessary to be included in 'haplo.glm' function.
make.geno(data, SNPs.sel)
the same as 'setupGeno' function, from 'haplo.stats' library, returns
an object of class 'setupSNP' containing the the SNPs that will be used to estimate the haplotypes.
a vector indicating the names of SNPs that are used to estimate the haplotypes
snp
## Not run: data(SNPs) # first, we create an object of class 'setupSNP' datSNP<-setupSNP(SNPs,6:40,sep="") geno<-make.geno(datSNP,c("snp10001","snp10002","snp10003")) ## End(Not run)
Run the code above in your browser using DataLab