Convert an abf object to a snpmod

abf2snpmod(abf, expected, overdispersion = 1, nsnps = NULL)

Arguments

abf

object returned by abf.calc

expected

expected number of SNPs in a model

overdispersion

overdispersion parameter. Setting this to 1 gives a binomial prior. Values < 1 are nonsensical: if you really believe the prior should be underdispersed relative to a binomial distribution, consider using a hypergeometric prior.

nsnps

number of SNPs in the region, optional, but required if not found in output of abf

Value

a snpmod

See also