rep_dat: Batch version of the 'rep_models' function:

Description Usage Arguments Value

View source: R/rep_models.R

Description

Batch version of the rep_models function:

Usage

1
rep_dat(mat, snpdat, pheno_name, covar_names)

Arguments

mat

A data frame containing a collection of single SNP genotypes, SNP names should be column names.

snpdat

A data frame containing pairs of SNP names. Each row should contain a one pair.

pheno_name

Character. Name of phenotype.

covar_names

Character. Vector of names of covariates.

Value

A data frame with five columns: snp1, snp2, p1 (p value of snp1), p2 (pvalue of snp2) and pcol (p value of collapsed genotype).


kindlychung/CollapsABEL documentation built on May 20, 2019, 9:57 a.m.