wrap_Xy: Make pseudo SnpMatrix object

View source: R/nongwas.R

wrap_XyR Documentation

Make pseudo SnpMatrix object

Description

Wrap design matrix and outcome vector into a pseudo SnpMatrix object.

Usage

wrap_Xy(X, y, featnames, net)

Arguments

X

n x d design matrix

y

Vector of length n with the outcomes

featnames

Vector of length d with the feature names

net

An igraph network that connects the SNPs.


hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.