Description Usage Arguments Value See Also Examples
Adaptive Fisher Method for Testing Methylation Variation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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 |
pos |
A vector of CpG locations (in base pairs). Elements
should be of the same order as the columns of |
nbasis |
The number of B-spline basis functions. |
start |
Start location of the region. |
end |
End location of the region. |
binary |
Indicator of whether |
cov |
Covariates. A matrix with dimensions |
nperm |
Number of permutations. Also the starting number of permutations
for "step-up" algorithm. Default is |
bandwidth |
bandwidth The bandwidth for |
kernel |
kernel The kernel to be used for |
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. |
n0 |
Tuning parameter. Discard the first |
... |
Optional arguments |
An object of "AFv" class.
P-value of AFv test.
Test statistic of AFv test.
Indexes of basis functions combined into the test statistic. Indexes are sorted so that P-values are in ascending order.
AFv statistics for all permuted samples.
P-values of AFv statistics for all permuted samples.
Method used.
create.bspline.basis
,
set.seed
, ksmooth
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.