Description Usage Arguments Details Value Author(s) See Also Examples
Generating Protein-Protein Interaction Descriptors
1 2 |
protmat1 |
The first protein descriptor matrix,
must have the same ncol with |
protmat2 |
The second protein descriptor matrix,
must have the same ncol with |
type |
The interaction type, one or more of
|
This function calculates the protein-protein interaction descriptors by three types of interaction:
combine
- combine the two descriptor matrix,
result has (p + p)
columns
tensorprod
- calculate column-by-column
(pseudo)-tensor product type interactions, result has (p * p)
columns
entrywise
- calculate entrywise product and
entrywise sum of the two matrices, then combine them,
result has (p + p)
columns
A matrix containing the protein-protein interaction descriptors
Nan Xiao <https://nanx.me>
See getCPI
for generating
compound-protein interaction descriptors.
1 2 3 4 5 6 7 8 9 10 | x = matrix(1:10, ncol = 2)
y = matrix(5:14, ncol = 2)
getPPI(x, y, type = 'combine')
getPPI(x, y, type = 'tensorprod')
getPPI(x, y, type = 'entrywise')
getPPI(x, y, type = c('combine', 'tensorprod'))
getPPI(x, y, type = c('combine', 'entrywise'))
getPPI(x, y, type = c('entrywise', 'tensorprod'))
getPPI(x, y, type = c('combine', 'entrywise', 'tensorprod'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.