View source: R/metafeaturefunctions.R
CombineSubspacesTest | R Documentation |
Combine subspaces (i.e. using Grassmann Manifold Technique - see PMID 30329022) given two different modalities of data (e.g. gene and metabolite) and the alpha value and the desired number of eigenvectors.
CombineSubspacesTest(
type1SimilarityTrain,
type2SimilarityTrain,
type1SimilarityTest,
type2SimilarityTest,
eigenCount,
alpha
)
type1SimilarityTrain |
A cosine similarity matrix for the first data type, found using ComputeCosineSimilarity on the training data. |
type2SimilarityTrain |
A cosine similarity matrix for the second data type, found using ComputeCosineSimilarity on the training data. |
type1SimilarityTest |
A cosine similarity matrix for the first data type, found using ComputeCosineSimilarity on the testing data. |
type2SimilarityTest |
A cosine similarity matrix for the second data type, found using ComputeCosineSimilarity on the testing data. |
eigenCount |
The number of eigenvectors to use. |
alpha |
The value of alpha to use. |
A named list including the data projected onto the merged subspace, the optimal number of eigenvectors, the optimal alpha value, the clustering coefficient, and the dendrogram.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.