This function takes tree object from ape package as input.
1 2 | GenStrucMat(x, tree, p_c = 1, dis = F, p_d = 1, h = 0.1, wcorr = F,
thresh = 0.5)
|
x: |
data matrix |
tree: |
tree object |
p_c: |
|r_ij|^p_c |
p_d: |
d^p_d |
dis: |
whether distance weighted; |
wcorr: |
whether using correlation weighted |
h: |
controls the complexity of structural penalty. Larger h, more complex. h should between 0 and 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.