Description Usage Arguments Value
View source: R/association_tests_utility_functions.R
This function computes the user-given association statistics and return the association profile over a genomic region.
1 2 | assoTest(Dx, Dy, hapMat, nperm, method, xlab = "", ylab = "",
main = "")
|
Dx |
A numeric matrix of pairwise distances. |
Dy |
A second numeric matrix of pairwise distances. |
hapMat |
An object of |
nperm |
The number of times to permute the rows and columns of |
method |
Association methods. Use "HHG" for HHG test, "dCor" for dCor test, "Mantel" for mantel test, "RV" for RV test. |
xlab |
An optional character string for the label on the x-axis(none by default). |
ylab |
An optional character string for the label on the y-axis(none by default). |
main |
An optional character string for title(none by default). |
A list of permutation p-values, corresponding statistics and a plot of association profile over SNV location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.