Test All Cached Markers Fast method for performing single marker testing across all variants stored in the kalis::CacheHaplotypes
TestCachedMarkers.Rd
Test All Cached Markers
Fast method for performing single marker testing across all variants stored in the kalis::CacheHaplotypes
Usage
TestCachedMarkers(
y,
A = NULL,
from = 1L,
to = kalis::L(),
ploidy = 2L,
model = "additive"
)
Arguments
- y
a
n
xm
matrix ofm
quantitative phenotypes (one phenotype / column)- A
a
n
xq
matrix ofq
background covariates- from
a positive integer giving the index of the first variant in the cache that should be tested, default = 1L.
- to
a positive integer giving the index of the last variant in the cache that should be tested, default =
kalis::L()
, the last variant.- ploidy
a positive integer giving the ploidy of the organisms whose haplotypes were cached, default = 2L.
- model
a character in "additive", "recessive", or "dominant" giving the model of inheritance that should be tested, default = "additive"