find_pc_number.yamat | R Documentation |
The method is based upon Capper's method (see find_pc_number.capper
).
It estimates the number of the maximum eigenvalue of randomized data by
repeat the randomization for several times.
find_pc_number.yamat(x, eigen_values, n = 30)
x |
A matrix which has columns as features and rows as samples. |
eigen_values |
A vector of eigen values. It is the item
|
n |
An integer scalar of randomization times. Default to 30. |
A list of three items:
pc_num
An integer scalar of PC number.
variance_fraction
The sum of fraction of variance
of pc_num
PCs.
raw
A data.frame
of maximum eigen values
and PC numbers.
The Capper and yamat methods gives the same number of PCs on solid tumor example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.