Initializes the POLMM null model from an ordered categorical response and covariate matrix, preparing C++ state for subsequent marker/region tests.
fitNullModel.POLMM(
response,
designMat,
subjData,
control,
optionGRM,
GenoFile,
GenoFileIndex,
SparseGRMFile
)An object of class "POLMM_NULL_Model" representing the
initialized null model; state is stored in C++ and not intended for direct
element-wise access from R.
Ordered factor response (lowest level coded as 0 internally).
Numeric covariate matrix or data.frame (n x p).
Character vector of subject IDs aligned with rows of
designMat and response.
List of POLMM options (e.g., tau,
maxMissingVarRatio, minMafVarRatio).
Character, either "DenseGRM" or "SparseGRM".
Character, path to genotype file (PLINK or BGEN format).
Character or NULL, path to genotype index files.
If NULL, uses same prefix as GenoFile.
Character or NULL, path to sparse GRM file. If provided, sparse GRM is used; otherwise dense GRM is constructed.