models.group.collapse: models.group.collapse

Description Usage Arguments Details Value Author(s)

Description

Collapse a model matrix by SNP groups

Usage

1

Arguments

models

model matrix

groups

list, each element of which is a character vector listing SNPs in that group

Details

Internal function

Value

A dgCMatrix, with ncol==length(groups), and entry 1 if a SNP from that group is in the model. Returns the input matrix in the case groups has zero length.

Author(s)

Chris Wallace


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