GWAS_data {hidecan}R Documentation

Creates a GWAS_data object

Description

Creates a GWAS_data object from a tibble or data-frame of GWAS results.

Usage

GWAS_data(dat, keep_rownames_as = NULL)

Arguments

dat

Tibble, results from a GWAS analysis. See Details.

keep_rownames_as

Character, the name of the column in which to save the rownames of the input data-frame. Default value is NULL, i.e. rownames will be discarded.

Details

The input data should have one row per marker, and at least the following columns:

Value

A GWAS_data object, i.e. a tibble.

Examples

x <- get_example_data()

GWAS_data(x[["GWAS"]])

[Package hidecan version 1.1.0 Index]