GenStrucMat: Function to generate structure matrix using ape tree object

Description Usage Arguments

Description

This function takes tree object from ape package as input.

Usage

1
2
GenStrucMat(x, tree, p_c = 1, dis = F, p_d = 1, h = 0.1, wcorr = F,
  thresh = 0.5)

Arguments

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.


DongyueXie/scca documentation built on May 29, 2019, 2:37 p.m.