testThreewayInteraction: Test for threeway interactions between two features, genotype...

Description Usage Arguments Value

View source: R/qtl_test_interactions.R

Description

The two features (master and dependent) are assumed to be regulated by the same causal genetic variant.

Usage

1
2
testThreewayInteraction(feature_pairs, trait_matrix, sample_metadata,
  vcf_file, model0, model1, p_only = TRUE)

Arguments

feature_pairs

data frame with master_id, dependent_id and snp_id

trait_matrix

expression or chromatin accessibility matrix

sample_metadata

data frame with sample metadata and covariates

vcf_file

VCF file from gdsToMatrix() function

model0

Null model

model1

Model of interest that is compared to the null model

p_only

Specifies return type

Value

If TRUE, then only p-value is returned, otherwise returns a list of model data and fits.


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.