oneway: Get one-way marker-phenotype association

Description Usage Arguments Details Value

Description

Get one-way marker-phenotype association

Usage

1
oneway(gty, marker, verbose = TRUE, ...)

Arguments

gty

a genotypes object

marker

indexing vector into gty: can be logical, character or numeric

verbose

logical; if TRUE, preview the contingency table on the console

...

ignored

Details

To facilitate plotting downstream, the function tries to guess if the phenotype is binary (assuming the PLINK convention of 1=control/2=case), ordinal/categorical, or continuous. Categorical phenotypes will be converted to a factor.

Value

a dataframe with marker metadata, genotype calls, and sample metadata including phenotype


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.