Parallelized Stable Distillation for the OLS Model
distill_pivot_par.Rd
Distill multiple outcome vectors under the same null and alternative OLS model (in parallel)
Arguments
- y
a n x m matrix of phenotype vectors, one phenotype per column
- x
a n x p matrix of predictors (may be passed as a
sparseMatrix
, see theMatrix
package)- Q
an orthogonal matrix whose columns span the column space of the background covariates
- max_num_causal
a non-negative integer, maximum number of causal/active predictors to search for
- p_order
a vector of non-negative integers, if provided, columns of
x
will be distilled in the orderp_order[1]
,p_order[2]
,..
Value
a list containing
p_value
a vector of m p-values from the Renyi Outlier Test, in the same order as the phenotype vectors providedu
a p x m matrix of extracted p-valuessigns
a p x m matrix of effect signs corresponding the extracted p-valuesu
. Note, these signs are useful for post-hoc interpretation but are NOT extracted in the SD procedure so they are NOT independent ofu
.y
a n x m matrix of distilled phenotype vectors y left over as a biproduct of distillation (independent ofu
) and ready for downstream testing