Description Usage Arguments Value
Generate a matrix of principal components (PCs) significantly associated with THD. Include these PCs in multivariate models to correct for population structure.
1 | thd.adjust(x, H, m, method = "fdr", alpha = 0.05)
|
x |
vector of THD values |
H |
genetic distance matrix used to generate |
m |
maximum number of PCs to be considered. Typically, the no. of markers used to generate |
method |
P-value adjustment method passed to |
alpha |
significance threshold to retain a given PC. |
Matrix with length(x)
rows and one column per PC significantly associated with x
.
If no PC is found, a 0-column matrix is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.