Description Details Constructor Accessors
The GWAS class is a container for representing the genetic markers used in a genome-wide association study (GWAS), along with their corresponding summary statistics.
The GWAS class is a GRanges object with marker
and pvalue
metadata columns. In addition, a GWAS object must also
contain a metadata column indicating the direction of the minor allele's
effect, which can be provided as one of the following:
zscore
z-scores
or
Odds ratios
beta
Beta values (i.e., the regression coefficient)
Use as.GWAS
to construct a GWAS
object from either a
data.frame
or GRanges
object
In the following code snippets, x
is a GWAS
object.
pvalue(x)
retrieve GWAS markers
pvalue(x)
retrieve marker pvalues
zscore(x)
retrieve marker z-scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.