getCPI: Generating Compound-Protein Interaction Descriptors

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Generating Compound-Protein Interaction Descriptors

Usage

1
getCPI(drugmat, protmat, type = c("combine", "tensorprod"))

Arguments

drugmat

The compound descriptor matrix.

protmat

The protein descriptor matrix.

type

The interaction type, one or two of "combine" and "tensorprod".

Details

This function calculates the compound-protein interaction descriptors by three types of interaction:

Value

A matrix containing the compound-protein interaction descriptors

Author(s)

Nan Xiao <https://nanx.me>

See Also

See getPPI for generating protein-protein interaction descriptors.

Examples

1
2
3
4
5
6
7
x = matrix(1:10, ncol = 2)
y = matrix(1:15, ncol = 3)

getCPI(x, y, 'combine')
getCPI(x, y, 'tensorprod')
getCPI(x, y, type = c('combine', 'tensorprod'))
getCPI(x, y, type = c('tensorprod', 'combine'))

Rcpi documentation built on Nov. 8, 2020, 8:23 p.m.