match_matrix_dimensions: Match the dimensions of a query matrix to a profile matrix

Description Usage Arguments Value Examples

View source: R/match_matrix_dimensions.R

Description

Match the row and column names of a square feature matrix to the row names of a profile matrix, adding rows/columns containing NAs when proteins in the profile matrix are missing from the feature matrix.

Usage

1
match_matrix_dimensions(query, profile_matrix)

Arguments

query

a square matrix containing features for pairs of proteins

profile_matrix

the profile matrix for which interactions are being predicted

Value

a square matrix with the same row and column names as the input profile matrix, for use in interaction prediction

Examples

1
2
3
4
5
6
7

PrInCE documentation built on Nov. 8, 2020, 6:34 p.m.