prep_dataset_coco: estimate_vary

Description Usage Arguments Details Author(s) Examples

Description

Prepare dataset coco.

Usage

1
2
prep_dataset_coco(data_set, ld_matrix, var_y, hwe_variance = F, exact = F,
  use_info = T)

Arguments

data_set

data.frame. Coco formatted input data.

ld_matrix

matrix. LD matrix ordered by postiion.

var_y

float. Phenotypic variance for Y, if not specified it will be estimated using estimate_vary.

hwe_variance

boolean. Force the use of Hardy-weinberg equillibrium when calculating the genotypic variance.

exact

boolean. Perform an exact analysis, extra data checks used in prep_data_set_common

Details

prep_dataset_coco Common processing function for checking and parsing a dataset.

Author(s)

James Boocock

Examples

1
2
3
4
data(coco_dataset)
data(coco_ld_matrix)
coco_data = prep_datset_coco(coco_dataset,coco_ld_matrix)
coco_data$var_y

theboocock/coco documentation built on May 31, 2019, 9:10 a.m.