xwas.to.df: xwas.to.df

Description Usage Arguments Value Examples

View source: R/post.R

Description

Takes the output of the xwas function that returns a list of regressions and parses the results into a simple data.frame. This is useful for downstream plotting within the xwas library as well as custom implementations.

Usage

1

Arguments

data

is a list of data.frame objects that represent the regression tests, usually this is the output from the xwas function.

...

are additional parameters that are passed on to the p.adjust function.

Value

a data.frame with the p-value, estimate effect size, and adjusted p-value.

Examples

1
2
3
4
## Not run: 
xwas.to.df(data)

## End(Not run)

nampho2/xwas documentation built on May 23, 2017, 10:29 a.m.