model.union: Model unions

Description Usage Arguments Value Author(s)

Description

Describe and extract the union of models contained in two snpmod objects

Usage

1
model.union(e1, e2, dataset.labels = c(1, 2), detail = FALSE)

Arguments

e1

snpmod object 1 or a character vectors of model strings extracted from a snpmod

e2

snpmod object 2 or a character vectors of model strings extracted from a snpmod

dataset.labels

labels used to refer to e1 and e2 in a detailed union of models. Ignored unless detail==TRUE.

detail

default FALSE. If TRUE, returns a more detailed data.frame showing union of models and from which dataset they came.

Value

If detail=FALSE, invisibly returns a character vector of the unique model strings found in e1 and e2. If detail=TRUE, invisibly returns a data.frame containing that vector and some information on which dataset each was found in.

Author(s)

Chris Wallace


chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.