mcomp.detail: mcomp.detail

Description Usage Arguments Details Value Author(s)

Description

mcomp.detail, internal function

Usage

1
2
3
  mcomp.detail(m.parent, m.child, bf.parent, bf.child,
    ntarget, n.child, prior.parents, prior.children, what,
    pp.fold = 10, quiet = FALSE)

Arguments

m.parent

parent model matrix

m.child

child model matrix

bf.parent

BF matrix for parent models

bf.child

BF matrix for child models

ntarget

number of SNPs in parent models

n.child

number of SNPs in child models

prior.parents

prior for parent models

prior.children

prior for child models,

what

"drop" or "keep"

pp.fold

the minimum posterior odds for a child model to be returned

quiet

default FALSE, if TRUE, supress progress messages.

Details

The prior odds are used, together with Bayes Factors, to determine posterior odds on which basis a subset of child models are returned

Value

object of class dropModels defining models to drop (if what=="drop"), or an index vector of which rows of supplied m.child should be kept or kept (if what=="keep")

Author(s)

Chris Wallace


chr1swallace/snpBMA documentation built on May 13, 2019, 6:19 p.m.