Description Usage Arguments Value Examples
Adaptive Fisher Method with Principal Components (AFpca) for Trait-Methylation Set Association
1 2 3 4 5 6 7 8 9 10 11 12 |
Y |
Y Phenotype data. It can be a continuous trait or a binary trait.
A vector of length |
M |
A matrix of methylation levels with dimensions |
binary |
Indicator of whether |
cov |
Covariates. A matrix with dimensions |
varprop |
Cutoff for proportion of variance to be expalined.
The first Kp principal components (PCs) are chosen such that |
nperm |
Number of permutations. Also the starting number of permutations
for "step-up" algorithm. Default is |
n0 |
Tuning parameter. Discard the first |
adapt_perm |
Whether "step-up" algorithm is used for P-value
calculation. If FALSE, function permutes |
cutoff |
Cutoff for "step-up" algorithm. |
seed |
Specify the seed for permutations. |
An object of "AFpca" class.
P-value of AFb test.
Test statistic of AFb test.
Indexes of PCs combined into the test statistic. Indexes are sorted so that P-values are in ascending order.
AFb statistics for all permuted samples.
P-values of AFb statistics for all permuted samples.
Method used.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.