R/additive.default.R

`additive.default` <-
function (o) 
{
  if(!inherits(o,"factor")) o<-codominant(o)
  as.numeric(o)-1
}

Try the SNPassoc package in your browser

Any scripts or data that you put into this service are public.

SNPassoc documentation built on Dec. 28, 2022, 1:59 a.m.