inst/examples/example-asssoc-snpStats.R

library(snpStats)
data(families)

#tests <- tdt.snp(data = pedData, snp.data = genotypes)

phen <- within(pedData, {
  id <- rownames(pedData)
})
phen <- rename(phen, c(familyid = "famid"))

mod <- solarPolygenic(affected ~ 1, phen, dir = "solar")

Try the solarius package in your browser

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

solarius documentation built on May 2, 2019, 2:43 a.m.