The GRR can be computed in three ways using the argument GRR
.
If GRR="constant"
, the same GRR is given to all the variants, its value being specified to GRR.value
.
If GRR="SKAT"
, the GRR are calculating using the formula from the paper presenting the SKAT method and thus depend on MAF.
If GRR="variable"
, the GRR are calculating using a function given by the user to GRR.function
depending only on the MAF in the general population.
The argument multiplicative.factor
contains n.case.groups
-1 values; if multiplicative.factor=1
, GRR will be the same between the different groups of cases.
The two dataframes Kryukov
(used by default) and GnomADgenes
(containing MAF in the NFE population) can be used as genes.maf
.
GRR.matrix
returns a matrix that can be used in other simulation functions such as rbm.GRR
.