make.geno {SNPassoc} | R Documentation |
This function prepares the CRITICAL element corresponding to matrix of genotypes necessary to be included in 'haplo.glm' function.
make.geno(data, SNPs.sel, sep="/")
data |
data frame containing the the SNPs that will be used to estimate the haplotypes. |
SNPs.sel |
a vector indicating the names of SNPs that are used to estimate the haplotypes |
sep |
character separator used to divide alleles. See snp function for details. |
the same as 'setupGeno' function, from 'haplo.stats' library, returns
data(SNPs) geno<-make.geno(SNPs,c("snp10001","snp10002","snp10003"),sep="")