Skip to contents

Return per-context phenotype covariate matrices, taken from the colData of each context's SummarizedExperiment.

Usage

getPhenotypeCovariates(x, contexts)

# S4 method for class 'QtlDataset'
getPhenotypeCovariates(x, contexts)

Arguments

x

A QtlDataset object.

contexts

Character vector of context names (subset of names(getPhenotypes(x))).

Value

A named list of matrices keyed by context.