Description Usage Arguments Value Examples
View source: R/make_feature_pair_score_matrix.R
Combine per sample feature pair score matrices into a single non-redundant matrix (i.e. keep Xi - Xj, but not Xj - Xi, and have scores for every sample in a single matrix)
1 |
Is |
list of matrices, where each matrix represents a feature x feature score matrix for a single sample |
a matrix of feature pair score for each sample
1 2 3 4 5 | C <- 100 # represents samples
R <- 200 # represents features
X <- matrix(rbeta(R*C, 2, 3), nrow = R) # simulate data matrix
Is <- get_pairwise_rank_matrices(X)
pairwise_feature_mat <- make_feature_pair_score_matrix(Is)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.