makegeno: Create a group of locus objects from some SNPs, assign to...

Description Usage Arguments Value See Also Examples

Description

This function prepares the CRITICAL element corresponding to matrix of genotypes necessary to be included in 'haplo.glm' function.

Usage

1
make.geno(data, SNPs.sel)

Arguments

data

an object of class 'setupSNP' 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

Value

the same as 'setupGeno' function, from 'haplo.stats' library, returns

See Also

snp

Examples

1
2
3
4
5
6
## 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)

isglobal-brge/SNPassoc documentation built on April 7, 2018, 1:11 p.m.