Description Usage Arguments Value Examples
View source: R/match_matrix_dimensions.R
Match the row and column names of a square feature matrix to the row names
of a profile matrix, adding rows/columns containing NA
s when
proteins in the profile matrix are missing from the feature matrix.
1 | match_matrix_dimensions(query, profile_matrix)
|
query |
a square matrix containing features for pairs of proteins |
profile_matrix |
the profile matrix for which interactions are being predicted |
a square matrix with the same row and column names as the input profile matrix, for use in interaction prediction
1 2 3 4 5 6 7 | data(gold_standard)
subset <- adjacency_matrix_from_list(gold_standard[seq(1, 200)])
target <- adjacency_matrix_from_list(gold_standard)
matched <- match_matrix_dimensions(subset, target)
dim(subset)
dim(target)
dim(matched)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.