Skip to contents

Construct a RegionalData from genotype matrix, phenotype and covariate lists.

Usage

RegionalData(
  genotype_matrix,
  phenotypes,
  covariates,
  scale_residuals = FALSE,
  maf = list(),
  region = NULL,
  dropped_samples = list(),
  Y_coordinates = NULL
)

Arguments

genotype_matrix

Numeric matrix (samples x variants).

phenotypes

Named list of phenotype matrices.

covariates

Named list of covariate matrices.

scale_residuals

Logical.

maf

Named list of MAF vectors.

region

GRanges or NULL.

dropped_samples

List.

Y_coordinates

data.frame or NULL.

Value

A RegionalData object.