R/pvalues.R

Defines functions pvalues

Documented in pvalues

pvalues <- function(jtGWAS.object)
{
	if(attr(jtGWAS.object,'standardized'))
	 	return(2*pnorm(-abs(jtGWAS.object$J)))
	else
		 stop("This function is only to be used with standardized results.")
}

Try the jtGWAS package in your browser

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

jtGWAS documentation built on May 1, 2019, 10:41 p.m.