R/maxstat.table.R

Defines functions maxstat.table

Documented in maxstat.table

maxstat.table<-function(x,...) {
 if (dim(x)[1]> 2) x<-t(x)
 if (dim(x)[1]> 2) stop("table should be 2x3")
 if (dim(x)[2]==1) warning("this SNP is monomorphic")
 maxstat.matrix(x, ...)
 }

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.