gsnca_stat | R Documentation |
Derive distance statistics by solving eigenvector of two pairise correaltion matrix.
gsnca_stat(objt1, objt2, cor.method = "pearson")
objt1 |
dataset for condition 1, genes in columns |
objt2 |
dataset for condition 2, genes in columns |
cor.method |
correlation coefficient method, the same as in function cor |
L1-norm distance between two weight vectors
[gsnca_p()] for the external function that calls on the current function and returns permutation p-statistic.
data(meta) BRCA <- datasets[['BRCA']] N <- ncol(BRCA) n1 <- floor(N/2) objt1 <- t(BRCA[1:min(66,nrow(BRCA)),1:n1]) objt2 <- t(BRCA[1:min(66,nrow(BRCA)),(n1+1):N]) gStat.res <- gsnca_stat(objt1,objt2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.