GWAS_data_from_gwaspoly {hidecan} | R Documentation |
Extracts information from GWASpoly output
Description
Extracts GWAS results and chromosome length from GWASpoly output.
Usage
GWAS_data_from_gwaspoly(gwaspoly_output, traits = NULL, models = NULL)
Arguments
gwaspoly_output |
A |
traits |
Character vector, traits for which GWAS results should be
extracted. If |
models |
Character vector, genetic models for which GWAS results should be
extracted. If |
Value
A list with the following elements:
-
gwas_data_list
: A named list ofGWAS_data
objects, giving the markers score for each possible trait/genetic model combination. The names of the list are in the formtrait (genetic model)
. -
gwas_data_thr_list
: if the input data is aGWASpoly.thresh
object (from theGWASpoly::set.threshold()
function), a named list ofGwAS_data_thr
, with the significant markers score for each possible trait/genetic model combination. The names of the list are in the formtrait (genetic model)
. -
chrom_length
: A tibble with one row per chromosome, giving the length (in bp) of each chromosome.