Description Usage Arguments Details Value Author(s) References See Also Examples
The function calculates the U-centered distance matrix for a variable.
1 | uc.dist(X, dmeth = "me")
|
X |
vector, matrix, or data.frame to compute a distance matrix |
dmeth |
Distance method to use, options include "oe" for overall Euclidean, "me" for marginal Euclidean, "om" for overall Manhattan, "mm" for marginal Manhattan, "ct" for categorical, and "st" for censored survival time. |
A distance matrix is first calculated for a scale or data frame of a variable. The distance matrix is then centered according to U-centering formula on page 6 of arXiv 1902.03291 paper.
For distance methods "oe", "om", "ct", and "st", one matrix of overall distances computed using data from all variables. For distance methods "me" and "mm", an array of distance matrices, one distance matrix per variable.
Xueyuan Cao xcao12@uthsc.edu and Stanley Pounds stanley.pounds@stjude.org
Cao X and Pounds S (2021) Gene-Set Distance Associations (GSDA): A Powerful Tool for Gene-Set Association Analysis.
Zhu C, Yao S, Zhang X and Shao X. Distance-based and RKHS-based Dependence Metrics in High Dimension. arXiv:1902.03291
1 2 3 4 | data(target.aml.expr)
target.aml.expr=sqrt(target.aml.expr)
target.aml.expr=t(target.aml.expr)
oe.dist=uc.dist(target.aml.expr,"oe") # overall Euclidean
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.