getHPI | R Documentation |
This function calculates Host-Pathogen Protein-Protein Interaction (HP-PPI) descriptors via two approaches
combine
- combine the two descriptor matrix,
result has (p1 + p2)
columns
kron.prod
- if A has m x n matrix and B is q x p matrix,
then the Kronecker product is the code(pm × qn) block matrix
getHPI(pathogenData, hostData, type = c("combine", "kron.prod"))
pathogenData |
The pathogen descriptor matrix. |
hostData |
The host descriptor matrix. |
type |
The interaction type, one or two of
|
getHPI
A matrix containing the Host-Pathogen Protein-Protein Interaction (HP-PPI) descriptors.
Matineh Rahmatbakhsh matinerb.94@gmail.com
x <- matrix(c(1, 2, 3, 1), nrow = 2, ncol = 2, byrow = TRUE)
y <- matrix(c(0, 3, 2, 1), nrow = 2, ncol = 2, byrow = TRUE)
getHPI(x, y, "combine")
getHPI(x, y, "kron.prod")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.